Index Ai Academy
Glossary · Phase 11 · Professional practice

Cache stampede

Also written: thundering herd

Many requests missing the cache at once, such as when a popular entry expires, and all hitting the database.

Try it now

The second "a" is a hit, so it moves to the newest end. When "c" arrives, "b" is the least recently used and is evicted.

Learn it properly

Caches, queues and background jobs · Speed reads with caches, and move slow work to queues that retry safely. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write