Services

Resources

Company

/

Site reliability engineering

SRE (site reliability engineering)

Site reliability engineering (SRE) is a discipline that treats operations as a software problem. SRE teams set measurable reliability targets for a service, automate repetitive operational work, and use data from production to decide when to ship features and when to invest in stability. Google introduced the practice in the early 2000s.

How it works

SRE starts with what users need. The team picks service level indicators (SLIs), such as the share of requests served in under 300 ms, and sets service level objectives (SLOs) on them. The gap between the SLO and 100% is the error budget. A 99.9% monthly SLO allows 43.2 minutes of failure in 30 days. Google's SRE book also suggests capping manual operational work, called toil, at 50% of an engineer's time so the rest goes to automation.

Why it matters in production

Without SRE, reliability depends on whoever has been on call the longest. With it, a team has shared targets, clear rules for when to slow releases, and blameless postmortems that stop the same incident from recurring.

See also

On the One2N blog

References

  1. Site Reliability Engineering, introduction (Google SRE book)

  2. Eliminating toil (Google SRE book)

Error budget chart for site reliability engineering. An SLO of 99.9% of requests under 300 ms leaves 0.1% of 30 days, or 43.2 minutes, of error budget. A line starts at 43.2 minutes on day 0 and drops in steps, one per incident, until it reaches 0 around day 23. The rest of the month, to day 30, is drawn in red: budget spent, so releases slow down.

Putting this into practice?

Talk to One2N about our SRE consulting

Talk to One2N about our SRE consulting