SLOs & Error Budgets — Intermediate
Multi-window, multi-burn-rate alerting, in full
A single threshold alert on error rate forces a bad trade-off: set it sensitive enough to catch a real incident quickly, and you page on routine noise; set it conservative enough to avoid noise, and a real incident burns most of the budget before anyone's paged.
The fix used by most mature SRE practices pairs a short window with a long window, and requires both to agree before paging:
The short window gives fast detection; the long window filters out a short-lived blip that would otherwise fire the short window alone. Requiring agreement between both is what keeps this from paging on a 90-second network hiccup while still catching a real, sustained incident within minutes rather than hours.
Error budget policies: deciding in advance, not during the incident
An error budget without a policy is just a dashboard number nobody acts on. A policy states, in writing, what changes when the budget for the current window is exhausted — before it happens, agreed by whoever has the authority to enforce it:
Writing this down ahead of time removes the worst failure mode of error budgets: a team technically over budget, arguing in real time, under pressure, about whether this specific release is "important enough" to be the exception — exactly the kind of decision that's much easier to make calmly in advance than live during a tense incident review.
SLOs for asynchronous and batch systems
Request-based SLOs assume a request-response pattern, which doesn't map cleanly onto a queue consumer or a nightly batch job. For these systems, common alternative SLIs include:
A nightly ETL job that "completed successfully" but silently dropped 5% of records due to a parsing error has a correctness problem a simple "job exit code 0" SLI will never catch — which is exactly why picking the SLI deliberately matters more than picking an impressive-sounding target.
Dependency-aware SLOs
When Service A depends on Services B and C, A's own achievable reliability is bounded by what B and C can offer — A cannot promise 99.99% availability built entirely on a dependency that only offers 99.9% itself, not without a fallback path that doesn't depend on that service at all. Setting A's SLO without checking this inherited ceiling is a common source of an SLO that looks reasonable on paper but is structurally impossible to hit.
Reporting and reviewing SLOs over time
A burn-rate alert tells you about right now; a trend over several SLO periods tells you whether the target itself is realistic. A service that reliably burns 80-90% of its budget every single month, without ever actually breaching, isn't necessarily "fine" — it may mean the target was set too loose relative to what the team can actually deliver, and a real incident one bad month away from breaching the SLA with no margin left to absorb it.

