Reliability Math
Every incident and reliability number you may be asked to compute on the spot — timeline metrics, SLI ratios, error budgets, RTO/RPO checks, downtime cost. Formulas are cloud-agnostic; only the metric names change per provider.
Overview
The arithmetic sheet
Interviews and postmortems ask you to *compute*, not just define. Every formula here should be doable in your head or on a whiteboard.
The organizing principle: the math is universal, the metric names are not. An availability SLI (service level indicator, the measured ratio an SLO target is set on) is 'good events over valid events' whether you read it from Prometheus, CloudWatch, Cloud Monitoring or Azure Monitor. Learn the formula once and keep a translation table for the provider in front of you.
The chapter follows the order you use the math in. It starts with the timeline metrics (MTTD, MTTR, MTBF), moves to the SLI formulas (good over valid), then to the error budget and burn rate, then to RTO and RPO checked against measured reality, and ends with the cost of downtime. Each step feeds the next.
Key concepts
- MTTI / MTTA
- Total downtime per incident
- Good / valid ratio
- Metric-name portability
- Burn rate derivation
- Cap vs. mean
Interview questions
- We had 5 incidents. Cumulative detection delay 60 min, cumulative repair 150 min. What is our average downtime, and what does it imply?
- Write me an availability SLI. I will not tell you which cloud we are on.
- Our RTO is 45 minutes and our MTTR is 30 minutes. Are we compliant?
- Justify spending on reliability. Give me a number.
- Where does the 14.4x burn rate come from, and would it change?
Sign up free to read the full topic
More SRE topics
Start free on Cariara · Coding problems · System design studio