Interview Prep/SRE & Reliability/Error Budgets & Burn-Rate Alerting

What is an error budget and how do you calculate it?

BeginnerConceptError Budgets & Burn-Rate Alerting
Answer

The error budget is the amount of unreliability the SLO allows: 1 - SLO. For a request-based SLO it is a count of bad requests; for time it is minutes of downtime.

SLO 99.9% over 30 days, 50 million requests expected
budget ratio  = 0.1%
budget events = 50,000,000 x 0.001 = 50,000 failed requests
budget time   = 30 x 24 x 60 x 0.001 = 43.2 minutes of full outage
All SRE & Reliability questions Roadmap: SRE & incident response

More on Error Budgets & Burn-Rate Alerting