Skip to content

SLOs and error budgets

“It must be highly available” is not a requirement. Nobody can design for it, test it or decide when it’s good enough. Service level objectives (SLOs) replace the adjective with a number that users would recognize, measured continuously. The error budget, which is the unreliability the objective still allows, turns reliability into a shared decision: when there’s budget left, ship faster; when it’s spent, slow down and fix things.

The approach was popularized by Google’s Site Reliability Engineering books and is now standard practice well beyond Google.

From a user journey to a release decision1. Pick what users care about, such as successful checkouts, and measure it as a ratio of good events to all events. 2. Set the objective a little below what users would notice; what remains is the error budget. 3. Page people when the budget is burning fast enough to run out, not for every blip. 4. Use the remaining budget to decide whether to release new features or spend time on reliability. User journeye.g. checkout Indicator (SLI)% succeeding under 1 s Objective (SLO)99.9% over 30 days Release decisionsship, or stabilize Error budget0.1% of requests Burn-rate alertsspending too fast1234
From a user journey to a release decision The objective is set below 100% on purpose; the gap is a budget the team can spend on change.
  1. Pick what users care about, such as successful checkouts, and measure it as a ratio of good events to all events.
  2. Set the objective a little below what users would notice; what remains is the error budget.
  3. Page people when the budget is burning fast enough to run out, not for every blip.
  4. Use the remaining budget to decide whether to release new features or spend time on reliability.
Term Meaning Example
SLI (indicator) A measurement of user experience, usually a ratio of good events to total events Share of checkout requests that succeed in under 1 second
SLO (objective) The target for an SLI over a time window 99.9% over a rolling 30 days
Error budget 100% minus the SLO: how much failure is allowed With 99.9% and 1,000,000 checkout requests in 30 days, the budget is 1,000 failed or slow requests
SLA (agreement) A contract with customers, with penalties 99.5%, with service credits if missed. Keep SLOs stricter than SLAs

Most SLOs are request-based: the budget is a number of bad requests, not minutes. Following Google’s example, a 99.9% SLO over 1,000,000 requests allows 1,000 errors. How fast an outage spends that budget depends on traffic: ten minutes down at peak can cost more than an hour down at 3 a.m.

Some SLOs are time-based (“the service is up 99.9% of minutes”), and people often translate percentages into downtime to make them tangible. The table below does that. Read it as a rough guide that assumes evenly spread traffic, not as a conversion of a request-based budget.

What each level of availability allows, in time

Section titled “What each level of availability allows, in time”
Availability Downtime per 30 days (time-based) What it usually takes
99% About 7.2 hours One zone, careful deployments
99.9% About 43 minutes Multi-zone, automated rollback, on-call
99.95% About 22 minutes Multi-zone everything, mature incident response
99.99% About 4.3 minutes Automated failover everywhere, often multi-region; very expensive
99.999% About 26 seconds Rarely justified outside critical infrastructure

Each extra nine costs far more than the last. And a system can’t be more reliable than the dependencies it needs synchronously: a service that needs three others, each at 99.9%, can expect at best about 99.7% if their failures are independent, so it can’t promise 99.99% without caching, fallbacks or redundancy.

  • Start from users. Choose a few critical journeys and measure them as close to the user as practical, at the load balancer or with synthetic checks, not by CPU usage.
  • Use good-events-over-total-events ratios for availability and latency. They’re easy to aggregate and reason about.
  • Set objectives below 100%, and below current performance at first. Tighten them only when users need it.
  • Alert on burn rate. Page when the budget is being consumed fast enough to run out within hours or days. Ticket slower burns. This cuts noise dramatically compared with threshold alerts.
  • Agree an error budget policy in writing with product owners: what happens when the budget is exhausted (for example, only reliability fixes ship until it recovers).
  • Review SLOs regularly. If users complain while the SLO is green, the SLI measures the wrong thing.
  • Feed design. SLOs set requirements for architecture: redundancy, timeouts, retry budgets, dependency choices. See quality attributes.
  • A shared language for product, engineering and operations about how reliable is enough.
  • Fewer, better alerts, tied to what users feel.
  • Balanced speed and stability: the budget makes the trade-off explicit instead of political.
  • Choosing good SLIs is hard, and wrong ones give false comfort.
  • Needs organizational buy-in; an error budget policy nobody follows is just a dashboard.
  • Data and tooling: reliable measurement needs solid observability.

For any user-facing or business-critical service, and for platforms other teams depend on.

Don’t build SLO machinery for a prototype or a batch report nobody depends on in real time. A simple “did it run, and on time?” check is enough.

  • Too many SLOs: dozens per service, so none of them matter.
  • Measuring servers instead of users, such as CPU or uptime of one host.
  • 100% objectives, which leave no room for change and are never met.
  • SLOs nobody acts on: the budget runs out and releases continue as normal.

Written and edited by Abhinav Taduka, enterprise software architect.