SpinTheMic
Pro

Interview practice question

How many shards?

System Design · Fundamentals · Experienced

Your database must hold 40 TB and handle 200,000 writes per second. One node handles 2 TB comfortably and 10,000 writes per second. How many shards do you plan?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Storage: 40 / 2 = 20 shards.
  • Writes: 200k / 10k = 20 shards.
  • Add headroom for growth (e.g. 40).
  • Each shard replicated.
  • Use many logical shards for easy rebalancing.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics