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?
According to relevant research reports, the globa...
With the cloudification of IT infrastructure, the...
If you have been exposed to distributed systems, ...
The chart above is a snapshot taken from the send...
According to Mobile World Live, Ookla's lates...
Name Explanation The Internet of Things is an imp...
In the era of cloud computing, IT system construc...
The business of the three major operators has bee...
The development of 5G has now become another hot ...
Speaking of airport expressways, people often use...
Justhost.ru is a foreign hosting company founded ...
LigaHosting.ro is a Romanian hosting company that...
Edge computing means different things to differen...
If you establish a mapping relationship between I...