Interview Prep/DevOps Fundamentals/Reliability, monitoring & incidents

What is an error budget, and how is it used?

IntermediateConceptReliability, monitoring & incidents
Answer

In one line: An error budget is the amount of unreliability you're allowed within your SLO — for a 99.9% SLO, the budget is 0.1% — and teams use it to balance shipping new features against keeping the service stable.

How it's calculated:

  • SLO = 99.9% successful requests per 30 days → error budget = 0.1%.
  • With 10 million requests a month, you can afford about 10,000 failed requests.
  • For time-based availability, 99.9% ≈ 43 minutes of downtime per month.

How teams use it:

  1. Budget remaining → ship features. Reliability is good enough; take reasonable risks, release often, run experiments.
  2. Budget nearly or fully spent → slow down and fix reliability. Freeze risky launches, focus on bugs, tests, capacity and automation until the service is healthy again.

Why it's powerful:

  • It turns the old dev-vs-ops argument ("ship faster!" vs "stop changing things!") into a data-driven agreement.
  • Developers and SREs agree on the policy in advance, so nobody argues during an incident.
  • It makes clear that some failure is acceptable — chasing 100% wastes effort.

Error budget policy example:

  • If more than 50% of the monthly budget is used in a week → postpone non-urgent launches and do a reliability review.
  • If the budget is exhausted → only bug fixes and reliability work until the 30-day window recovers.
  • Any single incident using more than 20% of the budget → mandatory post-mortem.

Burn-rate alerts: instead of alerting on every error, alert when the budget is being used up too fast (for example "at this rate, we'll use the whole month's budget in 2 days"). This catches serious problems quickly and ignores small blips.

Tip for interviews: explain that the error budget is a shared tool between product and engineering, and mention burn-rate alerting if you want to show depth.

All DevOps Fundamentals questions

More on Reliability, monitoring & incidents