Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

damon.js: Schedule batches on demand instead of far in advance #441

Open
alainbryden opened this issue Nov 11, 2024 · 0 comments
Open

damon.js: Schedule batches on demand instead of far in advance #441

alainbryden opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alainbryden
Copy link
Owner

Currently, when daemon.js decides to target a server that is prepped, it schedules many batches far in advance, as illustrated below:
image

While the timings have all been figured out in advance and this usually results in a good flow of money, it has the disadvantage of tying up RAM that isn't actually being used. For instance, that 19 minutes could have been spent charging stanek, sharing RAM, or hacking lower priority targets with a shorter time-to-hack.

While it will probably take a larger refactor of how daemon.js does batching, we should try to switch to "just-in-time" creation of batch cycles / scripts to minimize sleep time needed and keep RAM available until just a few seconds before they need to start running.

@alainbryden alainbryden added the enhancement New feature or request label Nov 11, 2024
@alainbryden alainbryden self-assigned this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant