SpinTheMic
Pro

Interview practice question

Adding cache nodes wipes the cache

System Design · Scalability · Intermediate

When you add a fifth node to your four-node cache cluster, the hit rate collapses and the database gets flooded. Why, and how do you prevent it?

What a strong answer covers

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

  • Modulo hashing remaps most keys.
  • Most lookups miss after change.
  • Use consistent hashing.
  • Virtual nodes for balance.
  • Add nodes gradually, off-peak.
Practise this topic

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

See all topics