Skip to content

Glossary: System Design Basics in Go

sharding

Also written: partitioning, sharded

Splitting one table's rows across several databases, each holding a shard. It scales writes but brings hot keys, cross-shard queries and resharding costs, so only do it when you must.

Where the book teaches it

Related terms

shard keyhash shardingrange shardingresharding