At Quillfern Parcels. This is the system from chapter 8 of the Quillfern story, "Promises with numbers": Alerts fire all night for things customers never notice, while a slow checkout that loses bookings for an hour pages nobody.
What the model simplifies
A request-based SLO over a 30-day window, with traffic spread evenly. Burn rate is the error rate divided by the allowed error rate; the alert thresholds (14.4 and 6 for paging, 1 for a ticket) follow the common multi-window burn-rate policy, shown here for one window only. Every number on this page comes from one shared set of calculations, which the simulation questions use too, so a question can never disagree with what the simulator shows.
The drills, written out
A bad deploy burns the error budget
- Healthy state. At 0.02% errors the burn rate is 0.2×: the 30-day budget of 20,000 failed requests would last the whole window.
- Trigger. A release changes a database query, and 2.5% of booking requests start failing with timeouts.
- What is affected. One customer in forty who tries to book a delivery.
- Symptoms. Customers see "something went wrong" at checkout; support gets calls; most requests still work, so the site does not look down.
- Metrics. The burn rate is 25×: at this pace the 30-day budget is gone in 1.2 days. After 1.5 hours 5.2% of it is spent.
- Logs. The alert fires and the API logs show the slow query.
ALERT BookingAPIErrorBudgetBurn severity=page burn_rate=25.0
ERROR booking: canceling statement due to statement timeout (5000 ms)
- Reasoning. An alert on error rate alone would either page for every blip or miss this. A burn-rate alert pages when the budget is being spent fast enough to matter, and the timing points at the release.
- Mitigation. Roll back the release: errors return to 0.02%.
- Recovery. The incident used 5.2% of the month's budget, so 94.8% is left and normal releases can go on. Had it used most of the budget, the policy would slow risky releases until the window rolls on.
- Prevention. Canary new releases against the SLO, roll back automatically when the canary burns budget, and review incidents that spend more than a set share of it.
Learn it properly
All simulators · Curriculum map