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 · Hard
Production incident practice: Lag of 40,000
The order-emails queue is 85,000 messages behind and growing. Messages in order-emails are piling up faster than workers can handle them. Catch up, then…
The problem
- WARNING · order-emails · consumer lag 85,000 (and rising)
- Messages in order-emails 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 order-emails` 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.