# [[Thundering herd problem]]
Thundering herd is a type of [[Causes of errors in a system|error in a system]] that is caused by a [[Race condition]]. It involves several threads attempting to process an information at the same time. Thundering herd can cause [[Cascading Failures]] if the threads are not configured to stop retrying to handle the event after a certain amount of failures.
## Preventing thundering herd
- Institute a [[Circuit breaker pattern]] proxy to mediate requests.
- Introduce [[Jitter]] to de-synchronize the threads and cause one to win faster. [^wikipedia]
[^wikipedia]: _Thundering herd problem._ Retrieved from https://en.wikipedia.org/wiki/Thundering_herd_problem . [[readwise/Articles/Thundering Herd Problem]]