Level map

Boss

Likes at scale

DifficultyStages: 0 / 3
  1. Choose a shard key
  2. Split a hot counter
  3. Add a cache node
  4. Final test

Three database shards keep likes, and a cache tier serves like counts. Grow it in three stages: pick a shard key, survive a viral post, add a cache node.

Final testYour final board runs once more with a new traffic seed and a surprise event.

The system, stage by stageTap, drag or use arrow keys to step through the stages

Stage 3 of 3 · 11 parts given · 181,000 requests/s

Users 4Postgres 3Load balancer (L4) 1Redis cache 3

Progress on this page stays on this device.