Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M6284

Cache Breakdown

Cache Breakdown
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-08-09

Loading revision record…

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.

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/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

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.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Cache_stampedeZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS