What is site reliability engineering (SRE)?

Site reliability engineering (SRE) applies software engineering to IT operations to keep systems reliable and scalable while teams ship changes quickly.

Engineers monitoring system reliability

Site reliability engineering (SRE) is a discipline that applies software engineering to IT operations. Its aim is to keep systems reliable, scalable and efficient, while still letting teams release changes quickly. Instead of fixing problems by hand as they come up, SRE teams use code, automation and measurable targets to make reliability part of how systems are designed and run.

What does SRE stand for?

SRE stands for site reliability engineering. The same letters are also used for the people who do the work: site reliability engineers.

The practice started at Google around 2003, when Ben Treynor Sloss formed a team of software engineers to take on operations work as Google’s services grew. He described SRE as “what happens when you ask a software engineer to design an operations team.” Google later shared the approach publicly in its Site Reliability Engineering book, and it has since been adopted well beyond Google.

What does a site reliability engineer do?

A site reliability engineer is responsible for how a service behaves in production. Day to day, that usually means:

  • Agreeing reliability targets with the business and tracking the service against them.
  • Monitoring the health of systems and setting up alerts that fire when users are likely to be affected.
  • Writing code and tooling to automate repetitive operational work.
  • Responding to incidents as part of an on-call rotation, and restoring service quickly.
  • Leading blameless postmortems so the same failure does not happen twice.
  • Planning capacity so systems can handle growth.
  • Working with developers on safe ways to release changes.

Core SRE principles and practices

Service level objectives (SLOs) and indicators (SLIs). An SLI is a measurement of how a service is performing, such as the share of requests that succeed or how quickly they are answered. An SLO is the target for that measurement, for example 99.9% of requests succeeding. SLOs define what “reliable enough” means for a service and give engineering and business teams a shared goal. They are internal targets, unlike SLAs, which are agreements with customers.

Error budgets. Because 100% reliability is rarely practical or worth the cost, SRE accepts that some failure will happen. The error budget is the amount of unreliability the SLO allows: with a 99.9% SLO, the budget is 0.1%. While budget remains, teams can keep releasing new features. If it runs out, the focus shifts to stability until the service is back within target.

Eliminating toil. Toil is manual, repetitive work that does not add lasting value, such as restarting servers by hand or producing the same report every week. SRE teams automate it wherever they can. That reduces human error and frees engineers for work that improves the system.

Monitoring and observability. SRE teams watch the “golden signals” of latency, traffic, errors and saturation, and design systems so engineers can quickly see what is happening inside them when something goes wrong. Good monitoring tells you what is broken and why.

Incident response and blameless postmortems. Incidents will still happen, so SRE sets up a clear, practised way to respond, including on-call rotations, runbooks and automated recovery where possible. After an incident, a blameless postmortem looks at what went wrong and how to prevent it, without blaming individuals.

Release engineering. Frequent change is a common cause of failure, so SRE favours safe delivery: progressive rollouts such as canary and blue/green deployments, feature flags and fast rollback.

Simplicity. Complex systems fail in complex ways. SRE treats simplicity as a reliability feature and pushes back on complexity that is not needed.

How SRE relates to DevOps

DevOps and SRE share the same goal: to break down the wall between the people who build software and the people who run it, so that teams can deliver changes quickly and safely. They also share many practices, including automation, continuous delivery, monitoring and shared ownership of production.

The difference is mainly one of focus. DevOps is a broad culture and set of practices for how development and operations work together. SRE is a more specific, engineering-led way of putting those ideas into practice, built around measurable reliability targets. SLOs and error budgets give teams an agreed, data-based way to decide when to move fast and when to slow down. Many organisations use both: DevOps to shape how teams work, and SRE to set and protect the level of reliability their users need.

Getting started with SRE

Most organisations start small. Pick one important service, agree an SLO for it with the business, measure it, and automate the most painful manual tasks around it. The habits learned there can then be extended to other services.

To see how Vaxowave helps enterprises put these practices in place, read about our site reliability engineering services. For more on the business case, see why site reliability engineering matters.

Written by

Vaxowave

Let's reshape the future of enterprise technology

Whether you are modernising infrastructure, scaling operations or embedding intelligence into your platforms, Vaxowave is ready to walk with you.

Contact us