Cache stampede
When a popular cached answer expires and every request for it misses at once, so they all ask the database to rebuild the same thing. Also called a thundering herd.
See it in action
These lessons put cache stampede to work. Read one, then play it and watch what happens without it.
- The cache that took down the database: 12,000 req/s, and the cache answers 4 in 5 reads, so the database is calm. Then the home page's cached answers all…