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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
监控设计模式
|
21
负载均衡器(haproxy)
从这里开始监控……
Web和应用程序服务器
数据库(PostgreSQL)
……不是这里
图 2-1:尽可能地贴近用户开始监控
通过首先从用户的角度运行监控,你可以不用再担心单独节点出现问题了。如果数据库服
务器的
CPU
开始冲高,但是用户没有受到影响,那你真的遇到问题了吗?
现在,我并不是说这是唯一需要对应用程序进行测量的地方。你应该从用户的角度开始考
虑,但也需要迅速把精力放在测量组件(例如那些
Web
节点以及工作者节点)上。你可以
随心所欲地将其进行深入和扩展,但每次都要首先问自己,这些指标将如何展示对用户的
影响。
2.3
 设计模式
3
:
购买
,
不要构建
上一章讨论了
沉迷工具
这种反模式,“购买,不要构建”这种设计模式本质上就是对该反
模式的直接应答。
我发现一个公司内的监控工具和文化的成熟是一个自然进程。
很多公司经常是以纯粹运行
SaaS
服务开始的,这使得它们可以快速地运行监控,并将精
22
|
第
2
章
力放在构建一个伟大的产品上。
在某一时刻(每个公司和团队的这个时刻的来临时间都不同),监控被引入内部。有时是
因为财务原因,有时是因为
SaaS
服务不再满足某个产品的增长需求。此时他们选择的工
具是众所周知的
FOSS
(
free and open source software ...
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