All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
DevOps Engineering · Production incident · Warm-up
Production incident practice: Queue Pile-Up
The invoice-pdfs queue is 40,000 messages behind and growing. Messages in invoice-pdfs are piling up faster than workers can handle them. Catch up, then…
The problem
- WARNING · invoice-pdfs · consumer lag 40,000 (and rising)
- Messages in invoice-pdfs are piling up faster than workers can handle them. Catch up, then confirm the lag is falling.
You'll use: Linux shell · kubectl · curl · Logs & metrics · Rollbacks
Solve it (expert level)2–4 min · Type commands (or tap them)
Show a hint
`queue stats invoice-pdfs` shows how fast messages come in vs. go out.
What this teaches (spoiler)
Watch queue lag, not just CPU. Scale consumers on lag and never purge real work to make a graph look nice.