Failure Lab · incident
Queue Backlog
Orders keep coming in, but confirmations go out later and later. The queue is growing without limit.
MinorBeginner
Loading the incident…
Loading the incident…
The incident, in text
The order API puts a message on a queue for every order; workers send the confirmation emails. Customers are now complaining that confirmations arrive minutes late, and the queue depth alarm just fired.
The API itself is fast and healthy. Three extra workers are provisioned but stopped.
Symptoms
- · Queue depth rising steadily
- · API latency and error rate normal
- · Every running worker busy all the time
The system
- · Shoppers
- · Order API
- · Order queue
- · Worker 1
- · Worker 2
- · Standby 1
- · Standby 2
- · Standby 3
The postmortem is revealed after you respond to the incident.