Try
↑ ↓ move↵ openesc close

Interview prep / SLOs and alerting

Junior · SLOs and alerting · System design interview question

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

Learn it by running it

The slos, error budgets and alerting lesson explains the mechanism behind this question, and its lab lets you change the parameters and watch the effect.

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms