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

EvenlySpreadAssignmentStrategy doesn't take global state into account #18

Open
phoenigm opened this issue Oct 30, 2019 · 0 comments
Open

Comments

@phoenigm
Copy link
Member

EvenlySpreadAssignmentStrategy moves all work items from previous assignment.
Further, in order to make a balance for each job, this strategy makes the transfer of the work item from the most busy to the less busy.
After this, a situation arises that each job is balanced.
But it does not take into account the global state.
It can, without breaking the balance of each job, make newAssignmentState closer to the global balance.
You also need to keep in mind the possibility that another custom strategy was used before this strategy, and because of this, a global balance is not always possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant