SLI, SLO and the error budget
Tier 0 taught the cost of nines. This lesson is the management system that makes nines operational — and along the way it dissolves the oldest argument in software: product wants to ship faster, infrastructure wants to ship safer, and both are sure the other is being unreasonable. The resolution is a number. Three definitions first, because people blur them constantly:
- SLI — Service Level Indicator: a thing you measure. "Fraction of requests served successfully in under 300 ms." Not a goal — a measurement.
- SLO — Service Level Objective: your internal target for that indicator. "99.5% over a rolling 30 days." A promise to yourselves.
- SLA — Service Level Agreement: a contract, with customers, with money attached to breach. Always set the SLA looser than the SLO — the gap is your safety margin, so you're paying customers only after you've already blown through your own internal alarm.
The error budget: failure as a resource
Here's the reframe that changed the industry. A 99.9% SLO doesn't say "never fail" — it explicitly grants you 0.1% failure, which over 30 days is about 43 minutes. Now the mental flip: that 43 minutes is not a threshold to fear. It is a budget to spend.
Spend it on what? On the risks that make products better: deploys, migrations, experiments, dependency upgrades. The operating rule becomes mechanical:
- Budget remaining → ship. Take risks. Move fast — you have headroom, and headroom unspent is velocity wasted.
- Budget exhausted → feature work stops; the team works on reliability until the budget recovers.
Notice what this does to the eternal product-vs-infra argument: it ends it. No more debating whether "we're being too risky" — the budget either has room or it doesn't. Speed and safety stop being a values debate and become arithmetic. That's the entire trick, and it's a good one.
Measure from the user's side
Tier 0 planted this flag; here's where it becomes procedure. Your load balancer's health check can report a serene 100% while every real user sees errors — the health check and the users take different paths (different DNS, different auth, different everything). Measure your SLIs at the edge, or better, from real clients. The operating principle: availability the user did not experience did not happen. An SLO computed from internal checks is a story you tell yourself.
Burn rate: alerting on the budget properly
Don't alert at "100% of budget consumed" — by then the month is already lost; you're reading the obituary. Alert on burn rate: the speed of spending. Consuming budget at 14× the sustainable rate means the whole month's allowance dies in ~2 days — page someone now. Burning at 1.5×? A ticket for Monday morning. Two thresholds — fast-burn pages, slow-burn tickets — catch both the sudden fire and the slow leak, without crying wolf over every blip.
Setting every SLO to 99.99% because higher sounds better. Recall Tier 0: each nine costs roughly 10× the effort — and an over-tight SLO on an internal batch service means you'll halt feature work to defend reliability nobody asked for. The SLO should encode what users actually need: checkout, tight; the admin analytics page, honestly, 99% is fine. Over-promising to yourself is a self-inflicted tax.