Skip to Content
监控运维实践:原则与策略
book

监控运维实践:原则与策略

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
20
|
第
2
章
的底层组件可用时才有用。比如,你知道
AWS EC2
对于单一云区域只提供
99.95%
的
SLA
吗?这就意味着每年差不多有
4
个小时的停机时间。如果基础设施运行在单一云区域,在
不违反
AWS
的
SLA
的情况下,你无法提供比它更高的
SLA
。同样,如果底层网络不可
靠,那栈的中上层服务器和应用程序也无法提供比网络更高的可靠性。
在展开下一个话题之前最后再说一点:
100%
的可用性是不切实际的。满足
9
个
9
(
99.9999999%
的可用性)的停机时间大概为每年
31
秒。回想一下,即使是
AWS EC2
也
只提供低于
4
个
9
的
SLA
保证,而且很可能每年
AWS
对
EC2
的可靠性的投资比公司的收
入还要高。可用性上每增加一个
9
都会伴随着巨大的成本,而且通常这个投资也不值得,
因为很多客户无法分辨
99%
和
99.9%
之间的区别。
5.
告警
我发现很多人好像在构建监控的时候并不理解监控的目标。他们似乎相信构建监控系统的
目的就是为了当事情出现问题时能够发出告警。像
Nagios
这样的老牌监控系统肯定会让你
相信事实就是如此,但是监控其实有更高的目标,就像我的一个朋友曾经说过的:
监控是为了提问。
——
Dave Josephsen
,
2016
年
Monitorama
会议
也就是说,监控不是为了生成告警而存在的,告警只是其中一种可能的结果。考虑到这一
点,记住你收集的每个指标以及图表不需要有一个对应的告警。
2.2
 设计模式
2
:
从用户角度监控
现在你可能已经急于开始构建监控了,但是从哪儿开始呢?你的应用程序以及基础设施是
复杂的,它们带有大量运转的零件,所以哪里都有可能出现问题。 ...
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

Java数据科学实战

Java数据科学实战

Michael R. Brzustowicz, PhD
可编程网络自动化

可编程网络自动化

Jason Edelman, Scott S. Lowe, Matt Oswalt
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115550750