SpinTheMic
Pro

Interview practice question

Cache flush causes an outage

System Design · Caching · Experienced

Someone flushed the production cache by mistake, and the database collapsed under the load. How do you recover and prevent a repeat?

What a strong answer covers

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

  • Shed or rate limit traffic.
  • Warm hot keys first.
  • Gradually let traffic back.
  • Restrict FLUSH commands.
  • Design DB headroom and request coalescing.
Practise this topic

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

See all topics