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: Gone Viral
A celebrity posted about ChaiCart. Traffic just went 12×. Good news: everyone wants chai. Bad news: the site is collapsing. Survive the spike — and watch…
The problem
- CRITICAL · api · p99 latency 8.2s · traffic 12× normal
- Good news: everyone wants chai. Bad news: the site is collapsing. Survive the spike — and watch out, fixing one bottleneck can reveal the next one.
You'll use: Linux shell · kubectl · curl · Logs & metrics · Rollbacks
Solve it free in your browser2–4 min · Type commands (or tap them)
Show a hint
Find where the traffic is going with `top`, and check the database with `db connections`.
What this teaches (spoiler)
Scaling one layer moves the bottleneck to the next. For a spike on one hot page, cache it so most requests never touch the database.