Sharding Strategy

Use when reasoning about horizontal partitioning of data across nodes for storage capacity and write throughput beyond a single node: the three foundational partitioning schemes (range, hash, directory/lookup), the shard-key choice that determines whether the system scales or hotspots, the resharding problem and how consistent hashing addresses it, cross-shard queries and the joins-and-transactions trade-off, the relationship to replication (sharding partitions data; replication copies each shard), and the failure modes (hot shard, skewed distribution, cross-shard transactions, range-end overload). Do NOT use for replicating the same data across nodes (use replication-patterns), the CAP/PACELC frame (use cap-theorem-tradeoffs), single-node performance tuning (use query-optimization), or indexing within a shard (use indexing-strategy).

jacob-balslev 64a8c01 4 files · 43.7 KB Updated

File contents

jacob-balslev/skill-graph/tree/main/marketplace/skills/sharding-strategy commit 64a8c015d6

Frequently asked questions

npx skillmds@latest add jacob-balslev/sharding-strategy