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容量规划之美
36
2
这些都是常识,对吧?尽管如此,我们仍然惊奇地看到,许多组织并不在早期就
进行需求收集(整理)工作,相反他们坐在那里,直到很多用户抱怨(网页)反
应缓慢或超时。很显然这并不是一个好策略。
为网站的每一部分建立令人满意的速度和可靠性需要相当大的投入。但是当你进
行升级规划时或是需要了解应该保持何种标准时就会从中受益。本章将向你介绍
怎样理解你管理的和客户迫使你处理的各种需求,以及如何借助架构设计帮助你
进行此项规划。
不同种类的需求和测量方法
现在我们来讨论一下不同的需求,这些需求是组织外部的其他人设定的。下面让
我们看一下需要处理的几种类型:你的经理、终端用户,以及与你一起运营网站
的客户,他们都有不同的目标(需求)和衡量成功的不同方式。即使是在没有服
务器的前提下,你必须制定服务级别协议(
SLA
)或服务水平目标(
SLO
)正在使
用的服务,你可以满足自己的业绩目标或
SLA
的要求(在本章的后面讨论)。总
而言之,这些要求或容量目标都是互相关联的。我们可以把它们归纳为以下几点:
性能、可用性和可靠性。
外部服务监视。
业务要求。
用户期望。
能力。
系统度量。
资源的上限。
解读正式测量
你的网站应该不仅让你身边的同事用他的设备登录网站测试,而且还要能够让位
于其他大洲的真实访问者在网络速度缓慢的情况下进行访问。这一点尤其重要,
因为移动网络的速度在全球范围内变化很大,如图
2-1
所示。
37
设定容量目标
2
-
1
:全球移动网络速度(来源:https://opensignal.com/reports/ ...
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