Thundering herd: taming the stampede
How a single expired key took Black Friday down, the maths of the herd, five defences (locking, coalescing, probabilistic expiry, background refresh, stale-while-revalidate) and how to choose, the edge cases that break them, and how Instagram and a trending-topics design keep the database safe.
01 · Previously
W04 · DAY 03 · Thundering Herd
Every invalidation is a miss.
Previously: invalidation
Previously, on Day 2, you learned to get stale data out: TTLs, events, versioned keys, and a TTL safety net under your events.
0:00 / 19:16