Files
nexus/sreweekly/markdown/138/03-colmmacc-on-twitter-shuffle-sharding.md
2026-09-12 17:23:01 +08:00

2.5 KiB
Raw Blame History

@colmmacc on Twitter: shuffle sharding

简介

Colm MacCárthaigh explains how shuffle sharding improves reliability by acting like some kind of magic lever made of math.

正文

Profile picture

@colmmacc

Profile picture

gist.github.com/colmmacc/4a39a…. Try it for Route 53's numbers. There are 2048 Route 53 virtual name servers, and each hosted zone is assigned to 4. So n = 2048, and m = 4.

github.com/awslabs/route5…

en.wikipedia.org/wiki/Lottery_m…has good background on how we then come to this equation ...