Skip to content
క
kagitha
/
thundering-herd
Subscribe
Index
⌘K
TAG · 1 ARTICLE
#thundering-herd
SYSTEM DESIGN
Cache eviction and invalidation explained: LRU vs LFU, TTL and the thundering herd problem
A cache is small and data keeps changing. Eviction decides what to throw out when memory is full. Invalidation removes data that's no longer true. Learn LRU, LFU, FIFO and TTL, the four ways to invalidate a cache, and how to stop a thundering herd from flattening your database.
24 Nov 2026 · 8 min
kagitha
Close
✕
Search everything — articles, videos, chapters, agents, books
01
AI
02
Java
03
System Design
04
Series
05
Manga
06
The Lab
07
Videos
08
Quizzes
09
Books
10
Resume