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?
Can you bear not going online? Obviously not, bec...
【51CTO.com Quick Translation】 Data science career...
Since the beginning of the year, the central gove...
Zhongguancun Online News: China Mobile and Nokia ...
[Original article from 51CTO.com] After the succe...
Whose product is 5G private network? A new report...
[[238041]] Image source: Visual China IPv4. What ...
TmhHost is carrying out a spring back-to-school p...
Bandwidth management involves the strategic alloc...
RAKsmart has also launched the most important 11....
Have you changed your phone to 5G? My 4G is enoug...
[[395758]] This article is reprinted from the WeC...
[51CTO.com original article] In 2016, the three ma...
On August 20, 2019, Aruba, a subsidiary of Hewlet...
The 5G war is in full swing, so what are the coun...