Tag

Partitioning

2 posts

Sharding: Choosing a Shard Key, Moving Data When You Reshard, and What You Lose Across Shards

System Design series Part 4-2: shard key skew, resharding cost, and fan-out latency simulated; sign-ups sharded by talk in Spring with an outbox index; tenant isolation.

System Design System Design · Sharding · Partitioning

SQL vs NoSQL: Choose a Database by Access Pattern, Not by Buzzword

System Design series Part 3-1: the trade-offs of five data models, why NoSQL is fast and what it costs, and MySQL JSON columns and partitioning to delay a new database.

System Design System Design · SQL · NoSQL