“Make it 100% reliable” is impossible and, chasing it, very expensive. Site Reliability Engineering (SRE) replaces that with an agreed target and a budget for failure. This guide explains the vocabulary and the maths.
The three terms
| Term | What it is | Example |
|---|---|---|
| SLI – Service Level Indicator | A measurement of user experience | % of login requests that succeed in under 1 second |
| SLO – Service Level Objective | The target for an SLI over a period | 99.9% of logins succeed in under 1 second, over 30 days |
| SLA – Service Level Agreement | A contract with consequences (credits, penalties) | 99.5% availability or the customer gets a refund |
The SLO is stricter than the SLA, so you find out you’re slipping long before a contract is breached.
Choose good SLIs
A good SLI is the ratio of good events to total events, measured as close to the user as possible:
- Availability: successful requests ÷ all requests (exclude client errors like 404 if they aren’t your fault)
- Latency: requests faster than X ms ÷ all requests
- Freshness (for batch jobs/data): runs that finished on time ÷ all runs
- Correctness: results without errors ÷ all results
For an internal Windows service, e.g. a file-transfer job: “95% of nightly transfers complete by 06:00”.
Error budget = 100% − SLO
The error budget is how much failure you’re allowed in the period.
| SLO (30 days) | Error budget | Allowed downtime per 30 days |
|---|---|---|
| 99% | 1% | ~7 h 12 min |
| 99.5% | 0.5% | ~3 h 36 min |
| 99.9% | 0.1% | ~43 min |
| 99.95% | 0.05% | ~22 min |
| 99.99% | 0.01% | ~4.3 min |
(30 days = 43,200 minutes; 0.1% of that is 43.2 minutes.)
With request-based SLIs, it’s counted in requests: at 99.9% and 10 million requests a month, you may fail 10,000 of them.
Using the budget
The budget turns arguments into decisions:
- Budget left → the team can ship changes, run risky migrations, patch aggressively.
- Budget nearly spent → slow down: freeze risky changes, focus on reliability fixes, add tests.
- Budget spent → stability work only until the service recovers.
Planned maintenance counts too – one reason to design patching that doesn’t cause downtime (rolling updates, redundant nodes).
Burn rate alerts
Instead of alerting on every error, alert when you’re spending the budget too fast.
Burn rate = actual error rate ÷ error rate the SLO allows.
- Burn rate 1 → you’ll use exactly the whole budget by the end of the period.
- Burn rate 14.4 sustained for 1 hour → about 2% of a 30-day budget gone in one hour. Page someone.
- Burn rate 6 for 6 hours → about 5% gone. Page or urgent ticket.
- Burn rate 1 for 3 days → ticket; you’re on track to miss the SLO.
These multi-window burn-rate alerts (from Google’s SRE workbook) catch both sudden outages and slow leaks with very few false alarms.
Getting started in your team
- Pick one important service.
- Write 1–2 SLIs that reflect what users care about.
- Set an SLO slightly below current performance (you can tighten it later).
- Show the SLI, SLO and remaining budget on a dashboard.
- Review monthly with the service owner: did we meet it? What used the budget?
FAQ
Should every service aim for 99.99%? No. Each extra nine costs far more effort. Match the SLO to what users actually need – an internal report can be 99%, a payment API might need 99.95%.
What’s next
You’ve completed the Monitoring track. Next: What CI/CD means for operations teams, or practise SRE interview questions in Interview prep.
Practise this topic
Test yourself with free questions on this topic – instant answers and explanations.
Start practice questionsSRESLOSLIError BudgetReliabilityAdvanced