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

Milkcheck should process targets independently #30

Open
wilfriedroset opened this issue Oct 6, 2015 · 0 comments
Open

Milkcheck should process targets independently #30

wilfriedroset opened this issue Oct 6, 2015 · 0 comments

Comments

@wilfriedroset
Copy link

Some services may need to process all targets at once but others don't. For those who don't need to process targets at once, milkcheck should handle targets independently.

Let's say we have 3 nodes and 1 of them is slower for some reason (but faster than the timeout), we need to execute 4 commands on them.

Currently milkcheck would do:

  • cmd1 on nodes[1-3], wait for the slower of cmd1 (blocking)
  • cmd2 on nodes[1-3], wait for the slower of cmd2 (blocking)
  • ...

It would be more efficient to work like that:

  • cmd1 on nodes[1-3], (in background wait for the slower of cmd1, not blocking)
  • Launch cmd2 as soon as targets are done with cmd1, (in background wait for the slower of cmd1 et cmd2, not blocking)
  • ...

This way, we will use more efficiently the fanout instead of waiting each time for the slower targets.
This issue/feature is related to issue #6

@degremont degremont changed the title Milkcheck sould process targets independently Milkcheck should process targets independently Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants