Partitioning & Sharding
Range vs hash partitioning, consistent hashing and virtual nodes, hot shards and skew, secondary indexes, rebalancing and request routing.
- 1✓
Range vs hash partitioning — how do you choose, and what does each break?
senior - 2✓
Explain consistent hashing and virtual nodes — what problem do they solve that `hash(key) % N` doesn't?
staff🎬 animated - 3✓
One shard is at 90% CPU while the others idle. How do you diagnose and fix a hot partition?
senior - 4✓
How do secondary indexes work across shards — local vs global, and what does each cost?
staff - 5✓
How does a request find the right shard, and how do you rebalance without downtime?
architect