SpinTheMic
Pro

Explain it in 60 seconds

Choosing a shard key

System Design · Databases · Intermediate

What makes a good shard key?

What a strong answer covers

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

  • High cardinality.
  • Even distribution of data and traffic.
  • Matches main query pattern.
  • Avoids hot spots (no monotonic keys alone).
  • Hard to change later.
Practise this topic

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

See all topics