Failure Lab · incident
Retry Storm
The database slows down a little. Then aggressive client retries turn a slowdown into a full outage.
CriticalAdvanced
Loading the incident…
Loading the incident…
The incident, in text
At 3 s the database starts running a heavy background job and becomes about 2.5 times slower. That alone should make pages slower, not fail them.
Instead, within seconds, traffic to the database multiplies and almost every request fails. Clients time out after 250 ms and retry immediately, up to five times.
Symptoms
- · Requests reaching the database are several times the user traffic
- · Errors are mostly timeouts
- · App servers are busy but the database is the slowest hop
The system
- · Clients
- · Load Balancer
- · App 1
- · App 2
- · Standby app
- · Database
The postmortem is revealed after you respond to the incident.