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容量规划之美
210
附录
B
作为固化页面的扩展,为了更好地利用缓存,您可以放宽内容的新鲜度要求。这通
常比在以前没有静态页面的地方构建静态页面容易得多,但它涉及更多的复杂性。
在图像和视频方面,内容交付网络(
CDN
)的使用已经成为一种规范,而
CDN
常分布在全球各地。这就减少了从源服务器提取内容的需要,从而缩短了响应时
间。
CDNs
也会不断清除(删除和更新)内容,以便交付新内容。在
Netflix
,使
CDN
是在用户传输视频时最小化缓冲的关键。同样,在
Twitter
上,使用
CDN
是确保在
Twitter
中快速交付照片和视频的关键。
处理故障
当故障来临的时候(不幸的是,在某个时刻它会),你可以做一些事来减少用户
的不良体验。良好的客户服务要求运营部门和客户服务团队之间进行强有力和有
效的沟通,因此用户能够及时了解网站故障和问题,如漏洞、容量和性能。我们
想分享一些我们在紧急情况或停机时为如此强大的网络社区服务时学到的经验。
如果厨房被水淹没了,但是水槽下面有一个水管工,你至少会有一种感觉,那就
是有人意识到了这个问题并试图解决它。一个好的水管工告诉你问题的原因,以
及必须采取什么措施来解决问题。
211
处理瞬时增长
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