Site reliability engineering

From HandWiki
Short description: Use of software engineering practices for IT


Site reliability engineering (SRE) is a set of principles and practices that applies aspects of software engineering to IT infrastructure and operations.[1] SRE claims to create highly reliable and scalable software systems. Although they are closely related, SRE is slightly different from DevOps.[2][3][4]

History

The field of site reliability engineering originated at Google with Ben Treynor Sloss,[5][6] who founded a site reliability team after joining the company in 2003.[7] In 2016, Google employed more than 1,000 site reliability engineers.[8] After originating at Google in 2003, the concept spread into the broader software development industry, and other companies subsequently began to employ site reliability engineers.[9] The position is more common at larger web companies, as small companies often do not operate at a scale that would require dedicated SREs.[9] Organizations that have adopted the concept include Airbnb, Dropbox, IBM,[10] LinkedIn, Netflix,[8] and Wikimedia.[11] According to a 2021 report by the DevOps Institute, 22% of organizations in a survey of 2,000 respondents had adopted the SRE model.[12][13]

Definition

Site reliability engineering, as a job role, may be performed by individual contributors or organized in teams, responsible for a combination of the following within a broader engineering organization: System availability, latency, performance, efficiency, change management, monitoring, emergency response, and capacity planning.[14] Site reliability engineers often have backgrounds in software engineering, system engineering, or system administration.[15] Focuses of SRE include automation, system design, and improvements to system resilience.[15]

Site reliability engineering, as a set of principles and practices, can be performed by anyone. Though everyone should contribute to good practices, as occurs in security engineering, a company may eventually hire specialists and engineers for the job.[citation needed]

Site reliability engineering has also been described as a specific implementation of DevOps, although they differ slightly. SRE focuses specifically on building reliable systems, whereas DevOps focuses more broadly.[2][3][4] Although they have different focuses, some companies have rebranded their operations teams to SRE teams with little meaningful change.[9]

Principles and practices

There have been multiple attempts to define a canonical list of site reliability engineering principles, but while consensus is lacking, the following characteristics are usually included in most definitions:[1][16]

  • Automation or elimination of anything repetitive in a cost-effective way.
  • Avoidance to pursue much more reliability than what's strictly necessary. Defining what's necessary is a practice by itself (see list of practices below).
  • Systems designed with a bias toward the reduction of risks to availability, latency, and efficiency.
  • Observability—as in, the ability to ask arbitrary questions about a system without having to know ahead of time what to ask.[17]

The site reliability engineering practices also vary widely, but the list below is relatively commonly seen as at least partially implemented:

  • Toil management as the implementation of the first principle outlined above.
  • Defining and measuring reliability goals—SLIs, SLOs, and error budgets.
  • Non-Abstract Large Scale Systems Design (NALSD) with a focus on reliability.
  • Designing for and implementing observability.
  • Defining, testing, and running an incident management process.
  • Capacity planning.
  • Change and release management, including CI/CD.
  • Chaos engineering.

Implementations

Site reliability engineering teams engage with the other teams within their companies and the SRE principles and practices in various forms. Here is a high-level overview of common SRE team implementations:[18]

Kitchen Sink, a.k.a. “Everything SRE”

The scope of services or workflows covered is usually unbounded.

Infrastructure

These focus on the reliability of behind-the-scenes systems that help make other teams' jobs more efficient. These are often confused with "Platform" teams or "Platform Operations" teams. Infrastructure SRE teams may pair up with one or more platform engineering team(s), but they differ in that Infrastructure SRE teams focus on performing most, if not all, of the work described in the principles and practices listed above. Platform teams tend to focus on building the platform, and while reliability is desirable, that's not their sole priority.

Tools

The teams focus on tools to measure, maintain, and improve system reliability. For example, Nagios Core or Prometheus.

Product or application

SRE team for product and/or application. Some large companies tend to staff several of these.

Embedded

Usually, SRE solo practitioners or pairs staffed within a software engineering team apply most of the principles and practices described above.

Consulting

These teams consult on how to implement SRE principles and practices. These are usually experienced SREs who've worked on teams in one or several of the implementations above. SREs on external facing consulting SRE teams are often called "Customer Reliability Engineers". They rarely, if ever, change the customer's configuration or code.

Large companies who have adopted SRE tend to have a combination of the implementations described above, including multiple teams of the same implementation, e.g. multiple Product/application SRE teams to meet specific demands of several products and an Infrastructure SRE team to pair up with a Platform engineering group to meet reliability goals of a common platform for both products/applications.

Industry

The USENIX organization has held an annual SREcon conference since 2014 for site reliability engineers in the industry and also holds regional conferences with similar themes.[19]

See also


References

  1. 1.0 1.1 "Evaluating where your team lies on the SRE spectrum" (in en). https://cloud.google.com/blog/products/devops-sre/evaluating-where-your-team-lies-on-the-sre-spectrum/. 
  2. 2.0 2.1 Beyer, Betsy, ed (2016). Site Reliability Engineering: How Google Runs Production Systems. Sebastopol, CA: O'Reilly Media. ISBN 978-1-4919-5118-7. OCLC 945577030. https://sre.google/sre-book/table-of-contents/. 
  3. 3.0 3.1 Vargo, Seth; Fong-Jones, Liz (March 1, 2018). What's the Difference Between DevOps and SRE? (class SRE implements DevOps) (Video). Google.
  4. 4.0 4.1 "What is SRE? - SRE Explained - AWS" (in en-US). https://aws.amazon.com/what-is/sre/. 
  5. Hill, Patrick. "Love DevOps? Wait until you meet SRE" (in en). https://www.atlassian.com/incident-management/devops/sre. 
  6. "What is SRE?" (in en). https://www.redhat.com/en/topics/devops/what-is-sre. 
  7. Treynor, Ben (2014). "Keys to SRE". https://www.usenix.org/conference/srecon14/technical-sessions/presentation/keys-sre. 
  8. 8.0 8.1 Fischer, Donald (March 2, 2016). "Are site reliability engineers the next data scientists?" (in en-US). https://social.techcrunch.com/2016/03/02/are-site-reliability-engineers-the-next-data-scientists/. 
  9. 9.0 9.1 9.2 Gossett, Stephen (June 1, 2020). "What Is a Site Reliability Engineer? What Does an SRE Do?" (in en). https://builtin.com/software-engineering-perspectives/site-reliability-engineer. 
  10. "Site Reliability Engineering" (in en). IBM. November 12, 2020. https://www.ibm.com/cloud/learn/site-reliability-engineering. 
  11. "SRE - Wikitech" (in en). https://wikitech.wikimedia.org/wiki/SRE. 
  12. Oehrlich, Eveline; Groll, Jayne; Garbani, Jean-Pierre (2021). Upskilling 2021 Enterprise DevOps SkillsReport (Report). DevOps Institute. https://insights.devopsinstitute.com/hubfs/Automation%20Downloads/Upskilling%202021-Enterprise%20DevOps%20Skills%20Report.pdf. Retrieved June 17, 2021. 
  13. Oehrlich, Eveline (May 4, 2021). "What it takes to be a site reliability engineer" (in en). Micro Focus. https://techbeacon.com/enterprise-it/what-it-takes-be-site-reliability-engineer. 
  14. Treynor, Ben. "In Conversation" (Interview). Interviewed by Niall Murphy. Google Site Reliability Engineering.
  15. 15.0 15.1 Jones, Chris; Underwood, Todd; Nukala, Shylaja (June 2015). "Hiring Site Reliability Engineers". ;login: 40 (3): 35–39. https://www.usenix.org/system/files/login/articles/login_june_07_jones.pdf. Retrieved June 17, 2021. 
  16. "The 7 SRE Principles [And How to Put Them Into Practice"] (in en). https://www.blameless.com//blog/sre-principles. 
  17. "Learn about observability | Honeycomb" (in en). https://docs.honeycomb.io/getting-started/learning-about-observability/. 
  18. "SRE at Google: How to structure your SRE team" (in en). https://cloud.google.com/blog/products/devops-sre/how-sre-teams-are-organized-and-how-to-get-started/. 
  19. "Usenix SREcon". 2021. https://www.usenix.org/srecon. 

Further reading

External links