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工作手册
金丝雀发布
381
过。如果我们试图延长运行金丝雀部署的时间,这种情况将变得更加棘手。例如,
如果我们是在星期一进行发布,则可能会将系统工作日的行为与上个周末的行为进
行比较,从而产生了大量噪声。在这个例子中,用户周末使用服务的方式和平时可
能完全不同,从而在这个金丝雀过程中引入了噪声。
之前
/
之后评估过程本身也会引入一个问题,即较大的错误峰谷(由评估之前
/
之后
引入)是否可能比更长时间的小错误率(由小金丝雀引起的)更好。如果新版本是
完全不能工作的,那么我们能够多快地检测到并且回滚?一个前
/
后金丝雀的过程可
能会更快地检测出问题,但是恢复的总时间可能仍然很长,这类似于一个较小的金
丝雀。在此期间,用户体验会变差。
用渐进式金丝雀更好地选择指标
与我们理想的属性不符的指标仍然有可能具有很高的价值。我们可以通过使用更微
妙的金丝雀过程来引入这些指标。
我们可以使用包含多个阶段的金丝雀过程,来验证根据指标进行推断的能力,而不
是简单地只评估一个金丝雀阶段。在第一阶段中,我们对该版本的行为其实并没有
信心或认知。因此,我们希望使用一个较小的阶段,从而最大程度地降低可能造成
的负面影响。在一个很小的金丝雀中,我们更喜欢那些能最清楚地反映问题的指标:
应用程序的崩溃、请求失败等。一旦成功的经过了这个阶段,在下一阶段里将用更
大数量的金丝雀群体,从而提升我们对这个变更影响分析的信心。
依赖关系和隔离
所测试的系统也并不可能运行在真空里。由于实战的原因,金丝雀群体和控制群体
可能共享着后端、前端、网络、数据存储和其他基础设施
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