What problems does each generation of HTTP solve? The following diagram illustrates the main characteristics. picture HTTP/1HTTP 1.0 was finalized and fully documented in 1996. Each request to the same server requires a separate TCP connection. HTTP 1.1 was released in 1997. TCP connections can be kept open for reuse (persistent connections), but this does not solve the HOL (Head of Line) blocking problem. HOL blocking - When the number of parallel requests allowed by the browser is exhausted, subsequent requests need to wait for the previous request to complete. HTTP/2HTTP 2.0 was released in 2015. It solves the HOL problem by request multiplexing and eliminates HOL blocking at the application layer, but HOL still exists at the transport (TCP) layer. As shown in the figure, HTTP 2.0 introduces the concept of HTTP "streams": an abstraction that allows different HTTP exchanges to be multiplexed over the same TCP connection . Each stream does not need to be sent in order. Application scenarios:
HTTP/3The first draft of HTTP 3.0 was released in 2020. It is the successor to HTTP 2.0. It uses QUIC instead of TCP as the underlying transport protocol, thus eliminating HOL blocking in the transport layer. QUIC is based on UDP. It introduces streams as first-class citizens into the transport layer. QUIC streams share the same QUIC connection, so creating a new QUIC stream does not require additional handshakes and slow starts, but QUIC streams are transported independently, so in most cases, packet loss that affects one stream will not affect other streams. Application scenarios:
|
<<: How to efficiently implement scheduled tasks in Redis
>>: Explore different VGG networks. What do you discover?
This afternoon, Huawei released a thousand-yuan m...
OneTechCloud (Yikeyun) offers a minimum 20% disco...
In June this year, the Ministry of Industry and I...
Today I will share with you the knowledge related...
As 5G rolls out around the world, verticals acros...
[51CTO.com original article] On December 20, the ...
Today I will talk to you about the state analysis...
Investigating the technical, environmental and so...
[[421049]] This article is reprinted from the WeC...
As 5G commercialization approaches, the demand fo...
In the era of cloud computing, IT system construc...
RackNerd is a foreign hosting company founded in ...
Aoyoyun also announced this year's Double 11 ...
Now it has become a consensus that enterprises sh...
[[347913]] HTML5 can use MathML elements in docum...