Intermediate
System Design
Q68 / 100
What is a "thundering herd" problem, and how can it be mitigated?
Correct! Well done.
Incorrect.
The correct answer is A) A scenario where many clients simultaneously request the same resource (e.g., after a cache expires), overwhelming the backend; mitigations include staggered expiration, locks, or request coalescing
A
Correct Answer
A scenario where many clients simultaneously request the same resource (e.g., after a cache expires), overwhelming the backend; mitigations include staggered expiration, locks, or request coalescing
Explanation
When a popular cached item expires, many simultaneous requests can hit the database at once; techniques like jittered expiration times or "locking" the regeneration to one request help avoid overload.
Progress
68/100