What a cache stampede is
A warm cache keeps most requests fast. When it expires, many clients can ask for the same missing value together.
Interactive Systems Explainers
See how one cache expiration can turn calm traffic into a sudden database stampede.
Key Observations
A warm cache keeps most requests fast. When it expires, many clients can ask for the same missing value together.
The requests were harmless hits a moment ago. After one shared expiry, they turn into one synchronized miss wave.
Every miss tries to rebuild through the database. If rebuilds arrive faster than the database can finish, the queue blooms.
Protection lets one request rebuild while the rest wait briefly or use stale cache, keeping the database calm.
Interactive Systems Explainers
Watch routing choices shape overload, queues, and recovery.
See why latency suddenly explodes when work piles up.
See how retries can amplify overload and collapse a system.
See how fast failure isolates unstable services and allows recovery.
Add workers automatically when the queue grows, then watch the system catch up.