All guide activities

SD-15 · GUIDED WORKSHEET

Distribute data without hiding hotspots

Choose a shard key for a high-traffic leaderboard.

Read. Try. Defend.

Companion to the Buildfest System Design guides.

Your practice brief

  1. Compare user_id, tournament_id and a compound tournament-plus-bucket key.
  2. Explain how a single popular tournament changes the load model.
  3. Describe migration correctness while old and new routing versions coexist.

Your response stays in this tab. Download it before leaving. This self-guided worksheet is not graded or saved to your account.

Reveal reasoning after attempting

There is no universally best key. A tournament-local ranking is easy to read together but can become hot; bucketing spreads writes and complicates global top-K. A valid design documents how partial results are combined and how routing authority changes safely.

Other approaches can be valid. Check your assumptions, correctness, failure handling and trade-offs.