Engineering:Site Reliability Engineering

From HandWiki
Revision as of 17:07, 6 November 2021 by imported>LinuxGuru (url)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Site Reliability Engineering (SRE) is a discipline that incorporates aspects of software engineering and applies them to infrastructure and operations problems. The main goals are to create scalable and highly reliable software systems. According to Ben Treynor, founder of Google's Site Reliability Team, SRE is "what happens when a software engineer is tasked with what used to be called operations."[1]

Roles

A site reliability engineer (SRE) will spend up to 50% of their time doing "ops" related work such as issues, on-call, and manual intervention. Since the software system that an SRE oversees is expected to be highly automatic and self-healing, the SRE should spend the other 50% of their time on development tasks such as new features, scaling or automation. The ideal site reliability engineer candidate is either a software engineer with a good administration background or a highly skilled system administrator with knowledge of coding and automation[2].

DevOps vs SRE

Main page: DevOps

Coined around 2008, DevOps is a philosophy of cross-team empathy and business alignment. It's also been associated with a practice that encompasses automation of manual tasks, continuous integration and continuous delivery. SRE and DevOps share the same foundational principles. SRE is viewed by many (as cited in the Google SRE book) as a "specific implementation of DevOps with some idiosyncratic extensions." SREs, being developers themselves, will naturally bring solutions that help remove the barriers between development teams and operations teams.

DevOps defines 5 key pillars of success:

  1. Reduce organizational silos
  2. Accept failure as normal
  3. Implement gradual changes
  4. Leverage tooling and automation
  5. Measure everything

SRE satisfies the DevOps pillars as follows:[3]

  1. Reduce organizational silos
    • SRE shares ownership with developers to create shared responsibility[4]
    • SREs use the same tools that developers use, and vice versa
  2. Accept failure as normal
    • SREs embrace risk[5]
    • SRE quantifies failure and availability in a prescriptive manner using Service Level Indicators (SLIs) and Service Level Objectives (SLOs)[6]
    • SRE mandates blameless post mortems[7]
  3. Implement gradual changes
    • SRE encourages developers and product owners to move quickly by reducing the cost of failure[5]
  4. Leverage tooling and automation
    • SREs have a charter to automate menial tasks (called "toil") away[8]
  5. Measure everything
    • SRE defines prescriptive ways to measure values[9]
    • SRE fundamentally believes that systems operation is a software problem

See also

References

General
  • Site Reliability Engineering: How Google Runs Production Systems, O'Reilly Media, April 2016, Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, ISBN:978-1-491-92912-4
  • The Practice of Cloud System Administration: Designing and Operating Large Distributed Systems, Volume 2, Thomas Limoncelli, ISBN:032194318X

External links