What is an error budget? How much downtime does a 99.9 percent SLO over 30 days allow?
Sketch your own answer first, then compare it with the one below.
A strong answer
The error budget is the amount of failure an SLO allows: one minus the target, applied to the window. For 99.9 percent, 0.1 percent of requests or of time may be bad.
Over 30 days that is 43.2 minutes of total outage. Partial failures count in proportion, so a 50 percent error rate for ten minutes costs five minutes of budget.
The budget makes reliability a resource to be spent. While it lasts, the team can take risk, such as releasing often. When it is spent, the team slows changes and invests in reliability. Planned work draws on the same budget as accidents, so a risky migration and a bad deploy compete for it.
Sources
- Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy (2016). Site Reliability Engineering, chapter: Embracing Risk.