All Questions
Scaling Reads medium

You shard a social media app by `User_ID`. Justin Bieber (User_ID 1) gets 1000x more profile views than anyone else. What happens?

  1. A The load is balanced perfectly.
  2. B The shard containing User 1 becomes a 'Hot Partition', potentially crashing under load while other shards sit idle.
  3. C User 1 is moved to a special server automatically.
  4. D The database slows down for everyone.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions