Interview practice question
Accidental cache flush overwhelms the database
Backend Engineering · Production Debugging · Experienced
Someone accidentally flushed the production Redis cache, and the database is now overwhelmed. How do you recover quickly?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Shed/limit traffic to protect DB.
- Request coalescing; serve stale where possible.
- Warm hottest keys first.
- Scale DB read replicas temporarily.
- Prevent: restrict dangerous commands, staged warm-up.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.