grafclouds.com / documents / training / devops-challenges / queue-backlog-growing

The Queue Backlog Doubles Every Day. 10x the Consumers Tonight?

Intermediate ~12 min read
Observability

Scenario

The order-processing queue has gone from 20k to 40k to 80k to 160k messages over three days, and customers are asking where their confirmation emails went. Twenty consumers work the queue, handling payments, inventory reservation, and emails. A deploy touched the inventory-reservation code right around when the growth started. The consumers share the main application's Postgres database, and the payment provider enforces per-account rate limits. Nobody has looked at per-message processing time, redelivery counts, or downstream latency — and the dead-letter queue exists but has no alarm on it. Incoming order volume, notably, is normal.

The Quick Fix on the Table

"The consumers are stateless — set the autoscaling group to 200 tonight and the backlog is gone by morning." Ten times the workers, ten times the throughput. It's one number in one config, and it feels like decisive action.

Interview · Round 1

The quick fix is on the table and the room is waiting for your call. Would you sign off on it? Take a position and justify it — out loud or on paper — before revealing the analysis.