52ky 发表于 2022-4-29 08:33:01

HTTP性能优化面面观(上).pdf

《透视HTTP协议》专栏陪你近三个月。最后两讲,我会整合前面几章零散的知识点,做个总结,和大家聊聊HTTP的性能优化。
由于HTTPS(SSL/TLS)的优化在第28讲中已经详细介绍过了,这次就略过,大家课后找机会复习。
既然要做性能优化,那么我们就需要知道:什么是性能?它有哪些指标,应该如何衡量,应该采取哪些方法进行优化?
“性能”实际上是一个复杂的概念。不同的人和不同的应用场景会对它有不同的定义。对于 HTTP 来说,它是一个非常复杂的系统,角色众多,性能很难用一两个简单的词来形容。
让我们从 HTTP 最基本的“请求-响应”模型开始。该模型中有两个角色:客户端和服务器,以及中间传输链路。在检查性能时,您可以查看这三个部分。

(The "perspective HTTP Protocol" column has been with you for nearly three months. In the last two lectures, I will integrate the scattered knowledge points in the previous chapters, make a summary, and talk about HTTP performance optimization with you.Since the optimization of HTTPS (SSL / TLS) has been introduced in detail in lecture 28, we'll skip it this time. Let's find a chance to review after class.Since we want to optimize performance, we need to know: what is performance? What indicators does it have, how should it be measured, and what methods should be taken to optimize it?"Performance" is actually a complex concept. Different people and different application scenarios will have different definitions of it. For HTTP, it is a very complex system with many roles, and its performance is difficult to describe in one or two simple words.Let's start with the most basic "request response" model of HTTP. There are two roles in the model: client and server, and intermediate transmission link. You can view these three sections when checking performance.)




页: [1]
查看完整版本: HTTP性能优化面面观(上).pdf