SpinTheMic
Pro

Explain it in 60 seconds

Cache stampede

System Design · Caching · Intermediate

What is a cache stampede, and how do you prevent it?

What a strong answer covers

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

  • Popular key expires; many requests miss at once.
  • All hit DB together.
  • Locking/single-flight: one rebuilds.
  • Stale-while-revalidate.
  • Jittered TTLs, early refresh.
Practise this topic

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

See all topics