Cache Breakdown
Updated 2026-08-09
Summary
Cache breakdown occurs when a single hot key expires, letting a flood of requests bypass the cache and hit the database directly until it fails.
Definition
In caching systems, breakdown describes the failure that follows the expiry of one heavily requested key, such as a popular product page during a sale. Because the key is hot, all concurrent requests miss the cache at the same instant and pass through to the backing database, whose capacity was never sized for that load. It is distinct from cache avalanche, where many keys expire together, and from penetration, where requests target keys that never existed.
Introduction
How to use
- Protect the hot key: give the most critical dependency a policy that never expires or refreshes early. - Stage the rebuild: let one request refill the value while others wait or receive stale data. - Audit single dependencies: list what would break if one key, person or client vanished at once.
Mechanism
A cache serves most requests without touching the database, so the database is sized for the miss rate rather than the full request rate. When the hot key expires, every concurrent request misses simultaneously, and the full load arrives at the database in one burst. The database saturates, and its failure removes the last layer of protection.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- During a major sale, a single popular product listing expires and the resulting request burst overwhelms the database.
- A business dependent on one key employee or one anchor client collapses when that relationship ends abruptly.
Common pitfalls
- Adding a cache without any protection against breakdown, which simply moves the failure to the moment of expiry.
- Sizing the database for the cache hit rate and assuming the full miss path can never be exercised at once.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Cache_stampedeverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS