Queue backlog grows
Your task
A background worker consumes jobs from a queue (emails, image resizing) and normally keeps the queue near empty. The dashboard now shows the queue depth climbing steadily and the oldest message age growing, users report their actions are taking a long time to 'take effect.' Producers are enqueuing at the normal rate. The web tier is healthy. How do you triage why the backlog is growing?
It covers
- Message queue
- Consumer
- Backpressure