TAG · 4 ARTICLES
#partitioning-sharding
Partitioning, sharding & distribution
- SYSTEM DESIGNWhat is partitioning in system design? Horizontal vs vertical, and how it differs from shardingPartitioning means splitting a big pile of data into smaller pieces so each piece is quicker to work with. Here are the two ways to split (by rows and by columns), the common partitioning schemes, and how partitioning relates to sharding.24 Nov 2026 · 5 min
- SYSTEM DESIGNShard rebalancing and hotspots: moving data without downtime and taming hot keysShards never stay balanced. Data grows unevenly, one celebrity floods a single shard, a machine dies. Learn how to move data between live shards without downtime or lost writes, how to find and cool down hotspots, and why chasing perfect balance makes things worse.22 Nov 2026 · 8 min
- SYSTEM DESIGNSharding strategies explained: hash, range, directory and consistent hashingOnce you shard, every row needs an address. Learn the four ways to decide which shard data lives on, why plain hash-mod-N hurts the day you add a shard, how consistent hashing and logical shards fix it, and how to choose a shard key you won't regret.22 Nov 2026 · 8 min
- SYSTEM DESIGNVertical vs horizontal scaling for databases: partitioning, sharding and when to scale outWhen one database server runs out of room, you can buy a bigger machine or spread the data over many. Learn what each really costs, the difference between partitioning and sharding, the order most systems grow in, and what you give up the day you shard.22 Nov 2026 · 7 min