Buyers message sellers, and the classifieds service's chat takes up to 15,000 messages a second at peak. Each weighs about 500 bytes, and a year adds up to about 24 TB. One database handles about 5,000 writes a second, and replicas take no load off writes. So the data itself has to be split.
In this lesson
- What a shard is
- The shard key
- How a key finds its shard
- The cost of sharding
- Common mistake
- Key points