3 ms·
If you have three clients, each gets a third of the ring's space. If you have 200 clients each gets a 200th of the ring's space.
by nednar 6y ago
If you have three clients, each gets a third of the ring's space. If you have 200 clients each gets a 200th of the ring's space.
- scottlamb 6y agoUnfortunately this wouldn't be practical when the client's task count changes frequently. [1] You wouldn't want all the client tasks to recalculate their subset every time, so anything that requires each client task to know the total client task count is a dead end. Likewise when the backend task count changes, client tasks shouldn't change whether backend tasks that existed before and still exist are in their chosen subset. [1] Autopilot: Workload Autoscaling at Google Scale, https://research.google/pubs/pub49174/ https://research.google/pubs/pub49174/