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工作手册
338
14
捐献者(
http://bit.ly/2kEGp9c
)的比例明显高于默认选择是不捐献的国家
3
。简单
地选择某个特定的默认值,会对整个社会里的医疗供给产生深刻的影响。
一些可选问题始于还没有明确用例的情况。你可能想要完全删除这些问题。大量的
可选问题可能会让用户感到困惑,因此你应该只在真正需要的情况下增加配置选项。
最后,如果你选用的配置语言恰好有继承的概念,那么你能够恢复末端配置中任何
可选问题的默认值,这是很有用的功能。
逃避简单
到目前为止,我们已经讨论了要将系统配置简化为最简单的形式。但是,配置系统
也可能需要考虑到高级用户。回到我们的泡茶的比喻,如果我们真的需要指定茶叶
浸泡的时间该怎么办?
满足高级用户的一种策略是:找到常规用户和高级用户需求的最小公分母,并将那
种复杂性作为默认情况。这种决定的缺点是它会影响到每个人,现在即使是最简单
的用例,也需要从较低级别的角度来考虑。
考虑配置的可选项将影响配置的默认行为情况,用户先配置“绿茶”,然后增加“将
茶叶浸泡五分钟”的可选配置项。在此模型中,默认的配置仍然是高阶的、接近用
户目标的,但用户可以微调某个低级别的选项。这种方法并不新颖。我们可以同
C++
Java
等高级编程语言相类比,这样程序员就能够像编写高级语言一样,将机
器(或
VM
)包含在配置指令中。在某些消费级软件中,我们也看到可以通过让用户
进入高级选项界面,提供比经典界面更精细的控制选项。
想办法优化组织的整体总配置花费时间对我们很有帮助。不仅要考虑配置系统本身
的行为,还要考虑到, ...
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