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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
统计入门
|
41
4.6
 季节效应
数据的
季节效应
是指数据点采用一种重复的模式。例如,如果要记录一个月里每天的通勤
时间,你会注意到它有一个特定的模式。可能每天的时间不同,但模式每天都一样。你可
以每天用这类知识来帮助你计划和预测未来:因为你知道自己的通勤时间通常需要多久,
知道需要什么时候出发以便准时到达办公室。没有这种季节效应,你就不可能规划自己的
一天。图
4-3
显示了
Web
服务器请求的季节效应。
图 4-3:7 天时间的 Web 服务器请求的季节效应
根据以前的数据,如果知道
Web
服务器在给定的工作日中每秒大约处理
100
个请求,那么
也可以假设这个数字的一半或两倍可能是值得研究的事情,因为有些工具允许你以滚动周
期的方式应用此方法,从而比较现在的数据点与以前某个时间段的数据点,例如将当前的
每秒请求数与一周前、一天前甚至一小时前同一时间的每秒请求数进行比较。那么,对于
具有高度季节性的工作负载,你就可以对未来的情况进行假设。但并非所有的工作负载都
具有季节性。事实上,有些工作负载根本就没有明显的季节性。
4.7
 分位数
分位数
是描述数据集中一个特定数据点的一种统计学方法。例如,
第
50
个分位数
是数据
的中间点(也叫中位数)。运维中最常见的一种分位数是
百分位
,即以百分比的形式描述
数据集中的一个点(从
0
到
100
)。
百分位数通常出现在计量带宽计费和延迟报告中,在两者中的计算方式也是相同的。首
先,数据集按升序排序,然后删除前
n
个百分比的值。接下来最大的数字是第
n
个百分位
数。
4
例如,带宽计量通常以第
95
个百分点为基础计费。为了计算这个值,我们会去掉前 ...
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