3 ms·
How do they decide how big to make the slice for each service? Is that still manual?
by fastest963 6y ago
How do they decide how big to make the slice for each service? Is that still manual?
- nednar 6y agoIf 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/