Skip to Content
Google SRE工作手册
book

Google SRE工作手册

by Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne
September 2020
Intermediate to advanced
526 pages
8h 23m
Chinese
China Electric Power Press Ltd.
Content preview from Google SRE工作手册
34
2
SRE
为何需要
SLO
即使在那些很大的组织里,工程师也是一种稀缺资源。应该将工程时间投入到最重
要服务的最重要特性上。是应该投入到那些能够赢得新客户或维持老客户的特性上
呢,还是应该投入到确保客户满意度的可靠性和可扩展性方面呢?在这两者之间做
权衡是非常困难的。在
Google
,我们已经意识到:采用一套经过深思熟虑的
SLO
是对可靠性(
reliability
)工作的机会成本做出数据驱动型决策的关键,它还有利于
为这些可靠性工程工作安排合理的优先级。
SRE
的核心职责并不只是将“所有工作”都自动化,并保持
on-call
状态。其实
SRE
们的日常任务和项目是受
SLO
驱动的:捍卫短期的
SLO
,并且确保可以在中长期内
对其进行持续维护。有些人甚至可能说:如果你连
SLO
都没有,那你根本就不需要
SRE
SLO
是一种能帮助你确定工程工作(
engineering
)优先级的的工具。例如,你在两
个可靠性工程项目之间进行权衡:自动回滚和迁移数据到备份存储。你先估算出它
们各自对错误预算的影响,然后你就能根据估算的数值,来确定哪个项目对用户而
言是最有利的。详见本书的“基于
SLO
和错误预算的决策”和第一本
SRE
书的“拥
抱风险”(第
3
章)。
入门
作为你从无到有地建立一套基础的
SLO
的起点,假设你的服务是用某种计算机语言
编写的,在程序代码编译和发布了以后,现在服务正运行在用户可以通过网络访问
到的基础设施上。这个系统的成熟度可能处于下列某种级别:
一个处于开发中的绿地应用,目前还没有做过任何生产部署。
一个生产系统,在出现问题时,你的监控可以给你发送一些告警。但是,你还没 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python数据分析(第2版)

Python数据分析(第2版)

Posts & Telecom Press, Armando Fandango
Google系统架构解密: 构建安全可靠的系统

Google系统架构解密: 构建安全可靠的系统

Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield
编写整洁的Python代码(第2版)

编写整洁的Python代码(第2版)

Posts & Telecom Press, Mariano Anaya

Publisher Resources

ISBN: 9787519845858