Skip to Content
Web容量规划之美
book

Web容量规划之美

by Arun Kejariwal, John Allspaw
August 2019
Beginner to intermediate
232 pages
3h 50m
Chinese
China Electric Power Press Ltd.
Content preview from Web容量规划之美
68
3
监控可作为识别紧急问题的工具
正如即将在本章后面“监视应用程序”一节所述,问题通知是容量计划的一个独
立的专门领域,通常使用不同的工具。但一些新兴问题太微妙地触发健康检查工
具(如
Nagios
)。但是,可以按本章所介绍的工具来警告即将出现的问题。本
节中的技术还可以很快地向你展示优化的效果。例如,回到雅虎!机器学习排名
MLR
)团队已经提出了一种新算法并测试了它的有效性。虽然搜索结果的质量
显示了在
A / B
测试期间的实质性改进,但是
CPU
开销显著升高。在峰值负载,
开销会使搜索
BCM[
业务连续性计划(
BCP
)不符合,我们在本章的后面进一步
讨论
]
。在此基础上,对算法进行了门控,从而避免了生产中的潜在问题。
3-3
展示了一些通过
Ganglia
发现的异常行为,还展示了几个集群的几个高级视
图。
其实不用深入那些细节,你就可以从图
3-3
的左边看到刚发生的一些不寻常的事情。
这些图包含了集群的负载和运行进程,而在图
3-3
的右边则展示了这些集群上内存
使用量的组合报告。图中所有的
X
轴代表相同的时间间隔,所以这样很容易看到
锁运行进程(
WWW
集群尤其引人注目)的数量与
GEO
集群的流量高峰相关联。
WWW
集群显然是包括了
Apache
的前端机制服务
Flickr.com
,我们的
GEO
集群
是一个服务器的集合,用来处理类似照片地理标签这种功能的地理位置查询。通
过查看这个
Web
页面,我们可以确定问题的根源(
GEO
),以及它会影响到哪些
地方(所有其他集群)。正如所看到的结果,当
GEO
服务器中的某一台由于它的
请求而停止时,这个特定的事件就会发生。结果就是这些来自
Web
服务器的连接
逐渐累积,当我们重启了
GEO
服务器时,
Web
服务器逐渐恢复。
当我们的网站出现故障的时候,快速获取状态信息是很重要的。可能你想快速回
答这些问题: ...
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

GPT-3

GPT-3

Sandra Kublik, Shubham Saboo

Publisher Resources

ISBN: 9787519831073