Multiple ChoiceHard 45s
Thundering herd on cache expiry
Many keys expire simultaneously and every request hits the origin. What mitigates this?
Options
- 1Shortening all TTLs down to zero so every key expires immediately
- 2Jittered/randomized TTLs and single-flight (coalescing) cache fills
- 3Disabling the cache entirely so each request must reach the origin
- 4Increasing the thread pool size on the cache nodes to absorb load
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.