Git Product home page Git Product logo

Comments (4)

nshobe avatar nshobe commented on May 25, 2024 2

"Lack of a response to the Bolt CLI should not be considered a failure, for large systems it is quite possible that the system will output logs and results to other systems altogether"

I'd even argue that at scale a zero-response should be expected. Look at robertdavidgraham/masscan and the performance and reliability they've seen with that tool. An asynchronous operation should be considered vital as tools need to scale. And let's remember we're talking about a tool that by definition doesn't have an agent to talk with which means there will be failures at scale that shouldn't stop progression forward with successful hosts. Doing this right will also greatly improve thread pool management....

from bolt.

MikaelSmith avatar MikaelSmith commented on May 25, 2024

One idea I've talked with a few people about is building on https://github.com/puppetlabs/pxp-agent/blob/master/exe/task_wrapper.cc (as a self-contained static binary) to run a task on a remote host and then hit an HTTP endpoint when the task finishes.

Currently it writes output to a file, which could be polled for completion and output.

from bolt.

trevor-vaughan avatar trevor-vaughan commented on May 25, 2024

@MikaelSmith This got me thinking and it might be nice to be able to send along checksums of files that are to be executed so that the runner knows that it is executing the right thing.

Obviously not a requirement, but it might be a nice to have in the future.

from bolt.

MikaelSmith avatar MikaelSmith commented on May 25, 2024

Definitely, passing checksums is part of Orchestrator's task running. That happens at an earlier layer in pxp-agent than the code I linked to though.

from bolt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.