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?
[[178219]] With the widespread application of IoT...
As a qualified network administrator, I believe t...
1. Overview of HTTP Status Codes 1. Concept When ...
By the end of last year, the number of 5G base st...
Data transmission is the backbone of today's ...
Despite the sudden outbreak, this did not stop Ch...
On August 3, at the 2021 Global Digital Economy C...
Given the rapid pace of change in the technology ...
Preface Network is one of the basic skills for en...
I received an email from ProfitServer, saying tha...
The tribe has shared news about ShockHosting seve...
In October 2019, I wrote an article saying that i...
DediPath has launched a Cyber Monday promotion....
Today, the use and growth of mobile technology ha...