Interview practice question
One cache shard fails
System Design · Caching · Experienced
One shard of your 10-shard cache cluster fails, and 10 percent of keys are suddenly misses. The database struggles. What should the design include?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Replica per shard with fast failover.
- Don't rehash all keys on failure.
- Coalesce misses for that shard's keys.
- DB headroom for shard loss.
- Alert and auto-replace node.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.