Skip to content

Comment on On Sharding

Comments

Another good strategy for load balancing/sharding that always strikes me as simple but also devilishly cleaver is random pick two: https://brooker.co.za/blog/2012/01/17/two-random.html

It looks at mean queue time, not worst case time.

The article linked does, yes. The paper the article is based on (linked in the article) has a proof for worst case load if you’re interested in the details.

Edit: Link to paper http://www.eecs.harvard.edu/~michaelm/postscripts/handbook20...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.