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工作手册
消除琐事
117
分析表明,每台服务器的运行成本可能是每小时
1
美元。根据我的思路,成本
难道不应该是最重要的指标吗?可是我并没有考虑到,如果我修复了这些表面
故障;那么我就没有动力去解决根本原因:内核团队的发布测试套件有缺陷,
它没有检查在服务器上的日志生成量。
这位资深的工程师指导我查看操作系统内核的源代码,由此我找到了那段令人
反感的代码,并给内核团队提交了一个
bug
,并希望他们改进测试套件。我使
用了客观的成本
/
收益分析,说明了这个问题的成本是每小时
1000
美元,这样
就说服了开发人员使用我的补丁修复这个问题。
那天晚上我的补丁被合并到了新版本的内核里,第二天我把它发布到了所有受
其影响的机器上。在下一周的晚些时候,内核团队也更新了他们的测试套件。
与在早晨依赖内啡肽短期效果的支持去修复这些机器相比,我现在有了更大的
乐趣,我知道这个问题已经得到了合理的解决。
度量琐事
你怎么知道运维工作里有多少是琐事?一旦你决定要采取行动减少琐事,那你怎么
知道你的工作量是否是成功或者值得的?许多
SRE
团队的经验和直觉的组合已经解
答了这些问题。虽然这些策略可能产生结果,但是我们还是需要改进它们。
经验和直觉是不可重复的、不客观的、不可转移的。在工程工作方面付出的巨大工
作量,往往还是败给了琐事,对此即使同一团队或组织的成员也经常会得出不同结论,
因此他们为补救措施设置了不同的优先级。此外,消减琐事的工作努力也可以延续
几个季度甚至几年(如本章中的一些案例研究所示),在此期间团队的优先工作事
项和人员都可能发生了变化。为了长期保持专注并证明成本合理 ...
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