Last updated: 3 November 2026.
A retry storm occurs when clients repeatedly resend requests to a struggling service, increasing the load that caused the failure. A thundering herd is the synchronized form: many clients retry at the same moment, often because they received the same error or share the same timing rule. Both are classic feedback problems in distributed systems.
Key takeaway: A retry is not free resilience. It is new work sent into a system whose capacity may already be impaired. Safe retries need a budget, a delay, randomness, idempotency and a clear decision about which errors are recoverable.
The basic overload loop
Start with a backend that slows because of a database lock, a network fault, a deployment or a sudden traffic spike. Clients experience timeouts or transient errors. Their retry policy sends another request. The backend now has original work plus retry work, so queues grow and latency rises. More clients time out and retry.
Suppose a shared dependency fails for one second and 100,000 clients all retry after one second. The recovery event creates a burst much larger than the original steady traffic. If a service responds with the same error quickly, clients can remain synchronized.
Jitter breaks synchronization by adding a random component to the wait. Exponential backoff reduces the retry rate as failures continue. Together they turn one sharp burst into a spread-out trickle, giving the backend a chance to drain.
Retries are a control loop
The retry controller observes an error, waits, and adds load. Its gain is the number of new requests created per failed request. Its delay is the backoff. Its saturation is the retry budget, timeout and queue capacity. If gain is high and delay is short, the loop can be unstable.
The rest of the system determines whether the loop is safe. A client may retry a read but not a payment unless the operation is idempotent. A proxy may retry without knowing that the application already committed the transaction. A queue may hide overload until user-visible latency becomes extreme.
This is why retry behavior belongs in the service contract. The caller and callee need a shared understanding of error classes, deadlines, idempotency, priority and how much additional work is acceptable during failure.
Four failure patterns
An immediate retry may be appropriate for rare, fast transient faults and low request cost. At scale it doubles request rate exactly when the backend is least able to absorb it. Constant backoff is better but can synchronize clients and keeps sending during a long outage.
Unbounded persistence holds resources, hides an outage and creates a backlog. The user may have moved on while the system continues doing work with no value. Retrying the wrong errors—validation failures, authorization errors and many client mistakes—adds load without changing the cause.
Multiple layers can multiply each other. A browser, SDK, proxy and queue may each retry once, producing more than four attempts. The system may appear to have a small retry policy at every layer while its end-to-end amplification is large.
Controls that dampen the loop
Use truncated exponential backoff to increase delay up to a maximum, and add jitter to avoid synchronized release. Set retry budgets so retries remain a bounded fraction of useful traffic. Use deadlines so work that can no longer be useful is abandoned.
Circuit breakers fail fast when a dependency is clearly unhealthy, then probe cautiously. Load shedding rejects low-priority work before queues consume all resources. Idempotency keys make safe retries distinguishable from duplicate side effects.
Controls should be observable. Measure original requests, retry requests, amplification, queue age, dependency latency, success after retry and the proportion of retry work that produced a useful result.
Queues and recovery
Queues are stocks. Arrivals increase the stock and service completions reduce it. When arrival rate exceeds service rate, the queue grows even if every individual request is valid. Retries increase arrivals without increasing service capacity. A queue can smooth a burst, but an unbounded queue converts overload into latency and memory pressure.
Use bounded queues, admission control and priority rules. Observe queue age, not only queue length. A short queue of very old work may be more dangerous than a long queue of fresh work. When dropping work, make the policy explicit so the system does not fail by accident.
Load tests should include timeouts, partial responses, DNS failures, slow dependencies, connection pool exhaustion and region loss. Measure recovery time and whether clients continue to add load after the backend begins recovering.
Figure. Retry traffic can turn a small performance problem into a capacity collapse.
Practical systems checklist
- Classify errors before retrying and make state-changing operations idempotent.
- Set end-to-end deadlines, bounded retry budgets and exponential backoff with jitter.
- Audit every layer for multiplied retries and hidden queue growth.
- Use circuit breakers, load shedding and bounded queues as recovery controls.
- Test shared faults that synchronize many clients, not only random request failure.
Designing a retry budget
A retry budget should be tied to useful traffic, capacity and the cost of failure. A common rule is that retries must remain a small fraction of total successful requests, but the exact value depends on the dependency and operation. The budget should be enforced at the layer that can see the end-to-end request, otherwise each component may spend the same budget again.
Deadlines should travel with requests. A downstream service should know how much time remains before the user no longer benefits. Without a deadline, a queue can continue processing work that has already timed out upstream. That work steals capacity from fresh requests and makes recovery slower.
Idempotency is a contract, not a hope. A payment, booking or provisioning request needs a key and a durable record of the outcome so a retry can retrieve the result rather than repeat the side effect. Read operations can still be expensive, so they need budgets too.
Recovery should be staged. When a dependency begins responding again, releasing every waiting client at once can recreate the storm. Circuit breakers, token buckets and gradual ramp-up spread the return to normal. A healthy signal is not enough; the recovery path must be stable under load.
Dashboards should separate original work from retries and show the age distribution of queued work. An average latency can look acceptable while a small but important group waits far too long. Trace sampling should preserve enough information to identify where an attempt was created and why.
Finally, test the system with a shared clock and shared failure. Production incidents often synchronize clients through one common dependency, certificate expiry, deployment or DNS event. Randomized tests are useful, but they should not be the only tests of a feedback loop whose defining feature is coordination.
Putting the analysis to work
Begin by drawing a boundary around the distributed service, then write down what the boundary excludes. The focus of this article—retry storms—can look like a property of one component, but its consequences usually cross organizational, technical or ecological boundaries. Include the people who operate the system, the groups who experience its outcomes, the infrastructure that supplies it and the rules that shape behavior. A narrow boundary can make a problem appear controllable while shifting cost or risk to a neighboring system.
Next identify the important stocks and flows. A stock can be physical capacity, trust, expertise, queue length, data coverage, reserve energy or available attention. A flow changes the stock: new requests arrive, energy is dispatched, people learn, incidents propagate, projects withdraw or evidence is collected. The distinction matters because actions that change a stock directly may be slower or more expensive than actions that change a flow. It also helps separate a visible symptom from the accumulation that produces it.
Delays should be made visible on the map. Information may arrive after a decision; investment may arrive after demand; recovery may begin after the indicator has worsened; and a policy may change behavior long before its outcome is measured. Delays create overshoot, false confidence and repeated interventions that arrive too late. Ask what the system knew at the time, which signal was available, and how long it took for an action to affect the state. Those questions often reveal why reasonable decisions produced disappointing results.
Actors adapt to the rules they face. Developers change project timing, users change requests, operators create workarounds, agencies respond to incentives and models influence the data they later receive. A design that ignores adaptation will be optimized by the people inside it. Treat the stated objective as one force among several, then ask what behavior the metric or policy rewards when everyone responds intelligently. This is where second-order effects and unintended feedback usually enter.
Measurement should combine leading and lagging indicators. Lagging indicators show harm or success after the fact. Leading indicators show whether buffers, capacity, diversity, independence or response time are changing. Use both, and preserve the denominator. A falling incident rate can mean improvement, less exposure or weaker reporting. A smaller queue can mean faster completion or more withdrawals. A higher model score can mean better prediction or a narrower observed population.
Implementation works best as an experiment with a recovery plan. Define the expected mechanism, the time horizon, the evidence that would support it and the conditions that would trigger revision. Prefer reversible changes where uncertainty is high. Test under degraded conditions, involve the people who do the work and record side effects rather than treating them as noise. A pilot that cannot be stopped or compared is not a learning system; it is an irreversible bet.
The wider lesson is that backoff, jitter, budgets and bounded queues is not a single fix. It is a way to change the structure that produces behavior. Combine it with clear boundaries, independent observation, explicit time scales and a feedback path that can correct course. When the mechanism is visible, disagreement becomes useful: people can challenge the assumed link, propose another explanation and identify evidence that would distinguish the two.
Frequently asked questions
Should every transient error be retried?
No. Retry only when the cause may clear, the operation is safe or idempotent, and the client has a bounded budget.
Is jitter enough?
No. Jitter addresses synchronization. It does not fix excessive retry volume, unbounded queues, non-idempotent operations or wrong error classification.
Where should backoff live?
Define ownership clearly. Multiple layers can multiply retry traffic, so client, proxy and service policies need an end-to-end budget.
What metric catches a storm early?
Retry amplification—the ratio of retry requests to original requests—paired with queue age and dependency latency is more informative than total request volume alone.
Conclusion
Retry storms show how a well-intentioned local response can destabilize a wider system. Treat retries as a feedback controller with gain, delay and saturation. Add backoff, jitter, budgets, idempotency, bounded queues and load shedding, then test the failure modes that make clients act together. Resilience is not the ability to keep sending forever; it is the ability to stop safely and recover.
Sources and further reading
- Google SRE, managing load and synchronized retries
- Google SRE, service best practices
- Google SRE, reliable product launches
Related concept: retry storm in the glossary. See also the SIR model beyond epidemics.

Discussion