A hot cache key expires and 5,000 concurrent requests simultaneously hammer the database to rebuild it. Which technique prevents this cache stampede?
The stampede happens because every miss independently triggers a rebuild. A per-key mutex, singleflight-style request coalescing, or stale-while-revalidate lets exactly one caller regenerate the value while the rest reuse it.
🌊 This is a free sample — 1015+ more questions on DevOps Ocean
Sign in free to practice the full question bank with daily challenges, XP, streaks, duels and a global leaderboard.