Site Reliability Engineering (SRE) applies software engineering practices to infrastructure and operations. This guide explores Service Level Objectives (SLOs), Service Level Indicators (SLIs), Error Budgets, and the operational balance between feature release velocity and system stability.
1. The SRE Mathematical Foundation: SLI, SLO & Error Budget
In modern SRE, 100% uptime is virtually never the target—it is economically unfeasible and stifles feature velocity:
- SLI (Service Level Indicator): A quantifiable metric of service performance (e.g., successful HTTP 200 responses / total requests).
- SLO (Service Level Objective): A target reliability goal agreed upon by engineering and product (e.g., 99.9% of requests < 200ms over rolling 30 days).
- Error Budget: The allowable unreliability (100% - SLO). For a 99.9% SLO, the budget is 0.1% of requests or ~43 minutes of downtime per month. When the Error Budget is depleted, non-critical feature deployments are frozen and all engineering bandwidth pivots to reliability hardening.
