Why adding nodes can worsen a hot partition in sharded systems
A sharded cluster can be throttled by one overloaded node even when average CPU looks low, because a hash spreads keys evenly but not traffic. A simulator using a Zipf traffic model showed the busiest partition carrying 6.6 times its fair share under skew, and doubling partitions raised that ratio to 12.8. The article distinguishes hot ranges, fixed by changing key shape or automatic splitting, from hot keys, which cannot be split and must be handled by reducing traffic. Suggested remedies include caching, serving reads from replicas, and salting hot keys, which in one simulation cut the ratio from 6.6x to 2.5x. The author recommends alerting on per-partition maximum load and skew rather than averages.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in