-
Notifications
You must be signed in to change notification settings - Fork 0
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
Balanced distribution of tasks among shards #2 #1001
Conversation
@penumbra23 @dvc94ch @0x1100010010 Part of the problem is that we sort the shards in order of least assigned tasks before iterating through them and assigning up to the task limit to each shard. This separation of sorting before batch assignment of tasks up to the limit via https://github.com/Analog-Labs/timechain/pull/928/files#r1673262307 proposed change 0distribute tasks among ALL shards online evenly instead of greedy task assignment to the first shard assigned of up to its limit impl draft:
|
superseded by #1013 |
There is a tradeoff between the computational efficiency of assigning up to the task limit to the first shard online vs the socioeconomic benefit of dynamically assigning tasks to the least assigned shard (one at a time).
WIP Closes #998
balanced_distribution_when_more_unassigned_tasks_than_task_limit
first_shard_online_assigned_up_to_task_limit