SREcon24 Americas - Sharding: Growing Systems from Node-scale to Planet-scale
USENIX USENIX
34K subscribers
198 views
0

 Published On Apr 18, 2024

SREcon24 Americas - Sharding: Growing Systems from Node-scale to Planet-scale

Adam Mckaig, Stripe

Sharding is an important part of scaling systems. Most start life without it, rightly preferring the simplicity of the monolith on the single-node database. But sooner or later, most systems need to be split up: the database is too big, the workload is too diverse, the risk (and consequences) of total outages is too dire. But when, what, and how? Sharding can increase cost, latency, and — most perniciously — complexity, so the trade-offs must be considered carefully.

This talk aims to provide SREs with a map to embark on this journey, showing the problems commonly encountered as systems grow in various dimensions, and the sharding patterns which can address each. We then present a highly opinionated Golden Path outlining how these patterns can be combined into the default route from node-scale to planet-scale, along with some traps and anti-patterns to avoid.

View the full SREcon24 Americas program at https://www.usenix.org/conference/sre...

show more

Share/Embed