System Design ($200k+) · PERFORMANCE · Distributed Systems Core · 2026

Request Coalescing (Singleflight) + Jitter vs Uniform Cache TTL

Quick Decision Rule: When A hot homepage key cached for 60s expires during peak traffic, causing 5,000 concurrent requests to miss cache simultaneously and crush the database, choose Request coalescing (singleflight / lock-on-miss) combined with TTL jitter or stale-while-revalidate.

Trigger ConditionA hot homepage key cached for 60s expires during peak traffic, causing 5,000 concurrent requests to miss cache simultaneously and crush the database
Recommended ChoiceRequest coalescing (singleflight / lock-on-miss) combined with TTL jitter or stale-while-revalidate
Classic TrapPlain cache-aside with fixed TTL creates synchronized thundering herds that cascade into full database meltdowns.
VerificationAudited on 2026-11-23 · Distributed Systems Core · 2026

30-SECOND DECISION TRAP CHECK · PERFORMANCE

Test your instinct

Every hour on the dot, your Redis cache for the trending catalog expires and 8,000 concurrent API requests slam PostgreSQL simultaneously, triggering a 3-minute outage. What is the cleanest architectural fix?

Primary Engineering Documentation

Related Performance Decision Guides