Sharding & Partitioning

Hot shard mitigation

After sharding by user id, one celebrity’s shard has 50× the read QPS of others. Adding more random shards does not help that key. Name at least two mitigations that do not require resharding the entire key space.

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson