Failure pattern · 8 documented incidents
Retry amplification and runaway resource consumption
Retries, loops or an expensive input multiply load until a partial failure becomes a full outage or a runaway bill.
See it happen
Watch how this failure unfolds, then switch to the same situation with the safeguard in place. Tap or click any step to replay it.
Scroll the diagram sideways to see every system.
A brief slowdown has become a full outage.
What goes wrong:
- The database slows down for a moment.
- Every client times out and retries at the same moment.
- The retries time out too, and retry again, multiplying the load.
- A brief slowdown has become a full outage.
With the safeguard:
- The database slows down for a moment.
- Clients back off with random jitter and stop after a small retry budget.
- A circuit breaker sheds the excess before it reaches the database.
- The database recovers and traffic flows normally again.
What it is
Something slows down for a moment, and every client retries at once. The retries add load, which causes more timeouts, which cause more retries. A small hiccup turns into a full outage, or a bill nobody expected.
How it happens
- Many clients share the same timeout and retry settings
- Retries fire immediately and without a limit
- Nothing upstream sheds load when a dependency struggles
What it causes
- A brief slowdown becomes an outage across services
- Autoscaling and cloud costs spike
- Recovery takes far longer because traffic never lets up
Warning signs
- Request volume climbs while successful responses fall
- Retry counts rising together across many clients
- Queues growing faster than they can drain
How to prevent it
Bound retries, loops and expensive work. Use capped exponential backoff with jitter, retry budgets and circuit breakers, and put hard limits on iterations, cost and CPU per request.
- Clients retry with exponential backoff and random jitter, and give up after a small budget
- Circuit breakers stop calls to a struggling dependency and fail fast
- Expensive work has limits on cost, time and concurrency
Key ideas:Exponential backoff with jitterCircuit breaker
How to verify
Use synthetic data in an isolated test environment. These checks are engineering guidance; a checkmark is your team’s assessment.
1. Try: Make a test dependency time out while several callers retry concurrently.
Pass when: Retry attempts, concurrency and elapsed time stay within configured budgets; retries use backoff and jitter.
2. Try: Keep the dependency unavailable, then recover it while monitoring queues and work started.
Pass when: Circuit breaking or load shedding limits work and recovery does not cause an uncontrolled burst.
Evidence to keep: Keep request-attempt counts, queue and concurrency measurements, and retry-budget configuration.
Real incidents with this pattern
Documented incidents first. Each links to its public source.
Latent race condition in DNS automation leaves DynamoDB's regional endpoint with an empty record (AWS, 2025)
A latent race condition in DynamoDB's DNS management system produced an empty DNS record for the regional endpoint that the automation could not repair, so clients could not resolve the endpoint.
Safeguard: Make control-plane automation safe against stale plans
Third-party storage outage behind Workers KV takes down many Cloudflare services (2025)
Workers KV relied on a central data store, partly backed by a third-party cloud provider; when that provider had an outage, cold reads and writes to KV failed.
Safeguard: Remove single dependencies on infrastructure you do not own
New Consul streaming feature under heavy load and a BoltDB issue cause a 73-hour outage (Roblox, 2021)
Enabling a relatively new streaming feature in Consul under unusually high read and write load caused excessive contention, compounded by a pathological performance issue in BoltDB when handling large writes.
Safeguard: Roll out new infrastructure features gradually under realistic load
Valid customer configuration change triggers a latent software bug across a CDN (Fastly, 2021)
A software deployment on May 12, 2021 introduced a bug that a specific valid customer configuration could trigger; on June 8 a customer pushed such a change.
Safeguard: Canary software changes and watch for latent bugs
Holiday traffic surge overloads a Transit Gateway and stalls autoscaling provisioning (Slack, 2021)
After the holidays, an unusual surge of traffic from clients with cold caches overloaded one of Slack's AWS Transit Gateways.
Safeguard: Load-test scale-up paths, not just steady state
Regular expression in a WAF rule exhausts CPU on every edge server (Cloudflare, 2019)
A new WAF managed rule for XSS detection contained a regular expression that caused catastrophic backtracking and exhausted CPU.
Safeguard: Deploy rules through staged rollouts
Mistyped input to a capacity-removal command takes down S3 in us-east-1 (AWS, 2017)
An engineer ran a command meant to remove a small number of servers from an S3 subsystem, but one input was entered incorrectly and more capacity was removed than intended.
Safeguard: Enforce minimum-capacity limits inside the tool
Design reference: AWS guidance on timeouts, retries and backoff with jitter
AWS describes retries as powerful but dangerous: when a dependency is struggling, too many retries can amplify load and turn a partial failure into a retry storm.
Safeguard: Use capped exponential backoff with jitter
More records with this pattern217 security advisories · 11 illustrative scenarios
Showing 12 of 228. See all records with this pattern
glib2 issue could make the service unavailable
A flaw was found in glib2. A local attacker can cause a Denial of Service (DoS) by exhausting file descriptors in an application that communicates over UNIX domain sockets using GDBus.
GPAC issue could make the service unavailable
GPAC through 26.07.0 contains a NULL pointer dereference vulnerability in mp4_mux_cenc_update() in src/filters/mux_isom.c that allows attackers to crash the process.
libmodulemd issue could make the service unavailable
A flaw was found in libmodulemd. When parsing a module metadata document containing a malformed build options entry, an error object is freed twice, causing the application parsing the document to crash.
Dell Secure Connect Gateway - Virtual Edition issue could make the service unavailable
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Certificate Validation vulnerability.
Dell Secure Connect Gateway - Virtual Edition issue could make the service unavailable
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use After Free vulnerability. A low privileged local attacker could potentially exploit this vulnerability, leading to Denial of…
github.com/blakesmith/ar issue could make the service unavailable
Reader.Next parses the 10-byte decimal size field of an archive member header with strconv.ParseInt without rejecting negative values.
github.com/google/go-eventlog issue could make the service unavailable
In github.com/google/go-eventlog/tcg, Event exposes UntrustedType, which returns the raw event type header from the TCG event log without verifying that the event data matches its digest.
engine.io issue could make the service unavailable
A Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to unhandled socket errors when processing invalid upgrade requests.
Security issue reported in org.http4s:http4s-core_2.12
WebSocket's FrameTranscoder.bodyLength reads a 64-bit extended payload length and rejects only values greater than Integer.MAX_VALUE. A negative length passes validation.
fulgur issue could make the service unavailable
fulgur converts untrusted HTML/CSS into PDF, commonly on a server that
Joomla issue could make the service unavailable
Joomla! Core - [20261139] - Core - DoS in email cloaking plugin in Joomla 1.6.0-5.4.10, 6.0.0-6.2.0 - Inefficient processing of email links in the email cloaking plugin can lead to excessive CPU usage when rendering…
libical issue could make the service unavailable
libical before 4.0.7 contains a denial of service vulnerability because icalparser_clean() does not reset the parser nesting level when reusing an icalparser.
In the standards
CollectSEA's mapping; not an official determination by the standards bodies.