Good and bad sharding keys (for databases)
Ben Dicken · 7:04 · Watch on YouTube
Range-based shard keys look simple but pile new and active users onto the newest slices, so both storage and query load stay uneven. Hashing the user ID before routing spreads sequential signups across shards, which i...