Platform Protocols

Reliability · Concept

Service level objectives

Pick a measure users care about, set a target below 100%, and treat the gap as a budget for change. Google’s SRE book says error budgets take the politics out of deciding how much risk to allow.

By Saravanakumar Raju · 5 min read · Sources verified 18 Oct 2026

Real implementation · Google · Chubby · SRE book, 2016

Chubby is Google’s lock service. Its global instance failed so rarely that other teams built on it as if it would never go down. When it did, it took their services with it, and many of those outages reached users. Google’s answer was to make it fail on purpose:

“SRE makes sure that global Chubby meets, but does not significantly exceed, its service level objective. In any given quarter, if a true failure has not dropped availability below the target, a controlled outage will be synthesized by intentionally taking down the system.”Google SRE book, “Service Level Objectives”
In one line

A target for a measure users care about, like 99.9% of requests succeeding over four weeks. The remaining 0.1% is an error budget, spent on change under rules agreed in advance.

What it is

Take a checkout service that should answer 99.9% of its requests successfully over four weeks. The service level indicator (SLI) is the measurement, a carefully defined number for one part of the service users get. The SRE workbook generally recommends one shape for it: good events divided by all events.

The service level objective (SLO) is the target: 99.9%, over a stated window of four weeks. What it leaves over is the error budget, 100% minus the SLO: here, 0.1% of requests may fail before the objective is missed.

A service level agreement (SLA) is something else: a contract with users that attaches consequences, such as a rebate or a penalty, to meeting or missing its SLOs. If missing a target has no explicit consequence, it is almost certainly an SLO.

Illustrative traffic. The dashed line spends a budget of 3,000 failed requests evenly over four weeks. Week 2: one outage spends half of it. Week 4: the budget reaches zero, and releases freeze.
© Saravanakumar Raju

The problem

Without an agreed number, reliability is an argument between two teams. In the SRE book’s account, product developers are judged largely on velocity, which rewards pushing new code fast, and SREs on reliability, which rewards pushing back against a high rate of change.

Aiming for 100% does not settle it. The SRE book calls 100% “probably never the right reliability target”: it cannot be reached, and it is typically more than users want or notice.

Saying nothing is no better, and neither is beating the target by far: users build on what a service actually does rather than on what it promises, as Chubby’s users did.

From first principles

The SRE workbook’s own example: a 99.9% SLO and 3,000,000 requests over four weeks. Steps 5 and 6 use its alerting chapter’s 30-day window, close to four weeks.

  1. Count. Every request is good or bad. The SLI is good requests ÷ all requests.
  2. Budget. The budget is 0.1%: 3,000,000 × 0.001 = 3,000 failed requests for the four weeks.
  3. Spend. One outage fails 1,500 requests: 1,500 ÷ 3,000 = 50% of the budget.
  4. Pace. Burn rate is how fast the budget goes. A constant 0.1% error rate is burn rate 1: it spends the budget exactly by the end of the window.
  5. Speed up. A 1% error rate is 1% ÷ 0.1% = burn rate 10, and the budget lasts 30 days ÷ 10 = 3 days.
  6. Full outage. 100% errors is 100% ÷ 0.1% = burn rate 1,000. 30 days is 720 hours, and 720 ÷ 1,000 = 0.72 hours, about 43 minutes.

The general rule, in our own arithmetic:

SLI               = good events / total events
error budget      = 1 - SLO
burn rate         = error rate / error budget
full budget lasts = window / burn rate

The solution

Three practices from Google’s SRE books make the budget count:

  1. Ship while there is budget. In Google’s loop, releases go out as long as error budget remains. When failures use it up, releases halt for a while and the team puts its effort into testing and reliability. Network and datacenter failures count too: they “also eat into the error budget.”
  2. Write the policy before you need it. The workbook’s example policy, written for a sample game service, halts all changes and releases other than P0 issues or security fixes until the service is back within its SLO. The freeze applies whatever the cause; the cause decides whether the team moves from feature work to reliability work.
  3. Alert on burn rate, not on a raw error rate. The workbook’s case against a plain threshold: “A 0.1% error rate for 10 minutes would alert, while consuming only 0.02% of the monthly error budget.” Page the on-call engineer when the budget goes fast, and open a ticket for the next working day when it goes slowly.

In production: the workbook’s alert settings

The workbook’s starting settings for a 99.9% SLO. An alert fires only when both windows agree. The long window shows that a real share of the budget is gone. The short one, a twelfth as long, shows that it is still going, so the alert stops soon after the problem does.

SeverityLong windowShort windowBurn rateShare of 30-day budget spent
Page1 hour5 minutes14.42%
Page6 hours30 minutes65%
Ticket3 days6 hours110%

Check the first row: a 30-day budget is 720 hours, so burning at 14.4 for 1 hour spends 14.4 × 1 ÷ 720 = 2% of it.

Do

  • Start from what users care about, then measure it.
  • Start with a loose target and tighten it.
  • Agree a written error budget policy in advance.
  • Revisit SLIs and SLOs as the service changes.

Don’t

  • Setting a 100% target. (Google SRE book)
  • Copying today’s performance into the target without thinking. (Google SRE book; the workbook allows it as a starting point)
  • Paging on a raw error rate. (Google SRE workbook)
  • Running far above the SLO for long. (Google SRE book, on Chubby)

Trade-off

An SLO is a decision, made in advance, to let some requests fail. When the budget runs out, a release the team wanted to ship may wait. The SRE book adds a condition: it “relies on an SRE team having the authority to actually stop launches if the SLO is broken.”

Small services strain the arithmetic. At 10 requests an hour, one failed request is a 10% error rate for that hour. Over 30 days that is 10 × 720 = 7,200 requests, and a 99.9% SLO allows 7,200 × 0.001 = 7.2 failures, which the workbook rounds to seven: one failure spends 1 ÷ 7.2 = 13.9% of the budget.

How it fits with the rest

The pieces form one loop: the SLI measures what users get, the SLO sets the target, burn rate alerts warn when the budget goes too fast, and the policy says what happens when it is gone. A retry storm or a cascading failure is the kind of fast burn a page-level alert exists to catch. That link is our framing, not the sources’.

Practise it in two minutes

Predict what happens, watch it move, change the numbers, and get tested again before you forget.

Open Service level objectives in the app →

Related

Sources

  1. Google SRE book, “Service Level Objectives”
  2. Google SRE book, “Embracing Risk”
  3. Google SRE workbook, “Implementing SLOs”
  4. Google SRE workbook, “Alerting on SLOs”
  5. Google SRE workbook, Appendix B, “Example Error Budget Policy”