Bookmarks

SRE — Site Reliability Engineering

An approach to operating services in which reliability is delivered by engineers — with code, automation and measurable goals, not by manual work.

Also: SRE engineering, reliability engineering

checked 9 Nov

All terms

The practice grew out of Google: in 2003 Ben Treynor Sloss put together a “Production Team” of seven engineers — as a team of developers, not system administrators. Hence Sloss’s definition: SRE is what happens when a software engineer is asked to design an operations team. Reliability here is a programming problem: the same engineers automate the day-to-day running of the service as well.

Principles of the practice

PrincipleCore idea
Reliability is the product’s primary featurea service nobody can use is useless: reliability comes before new features
Goals, not guessesreliability is set as a number — an SLO and an error budget, not the subjective “it should work”
Toil goes to automationrepetitive manual work (toil) is reduced with code and tooling
Blameless incident responsethe postmortem examines causes, not people; the findings become tasks
Operations take no more than half the timemanual work is capped, and the rest of the time goes into engineering improvements

What the numbers look like

At Google the total operational workload of SRE — tickets, on-call duty, manual tasks — is capped at 50% of working time; if a team spends more, the load is handed back to the development teams. The availability target is set by an SLO, for example 99.9% per month — an error budget of roughly 43 minutes of downtime a month. While the budget lasts, changes can ship; once it is spent, releases slow down and the focus shifts to reliability.

Where the term comes from

The term was coined at Google in 2003. The practice is described in full in the book Site Reliability Engineering: the first edition came out in 2016 (O’Reilly) and was made freely available by Google, and a fully rewritten second edition followed.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • DevOps

    DevOps is a cultural approach to collaboration between development and operations; SRE is a concrete set of engineering practices and rules.

  • IDPPlatform engineering

    Platform engineering builds an internal platform for developers; SRE works on the reliability of the services already in production.

In depth in the references

where the topic is covered in detail