August 6th, 2024

Y'all are sleeping on HTTP/3

HTTP/3, utilizing the QUIC protocol, now accounts for over 30% of web traffic, enhancing speed and reliability while addressing TCP limitations, though challenges in tooling and support persist.

Read original articleLink Icon
Y'all are sleeping on HTTP/3

HTTP/3, built on the QUIC protocol, is rapidly gaining traction, with over 30% of web traffic now utilizing it. Unlike its predecessor, HTTP/2, which relies on TCP, HTTP/3 uses a UDP-based approach that significantly reduces latency and improves connection reliability. This shift addresses several limitations of TCP, such as head-of-line blocking and slow connection setups, particularly in dynamic network environments. QUIC allows for faster connections with fewer round trips, supports connection migration, and enables multiplexing without the delays associated with TCP. Major browsers and cloud providers have adopted HTTP/3, making it increasingly relevant for web developers. However, challenges remain, including the need for better tooling and language support for QUIC. Despite some skepticism from network engineers regarding QUIC's performance and security, its advantages in real-time communication and user experience are compelling. As the transition to HTTP/3 continues, developers are encouraged to explore its capabilities and contribute to its evolution.

- HTTP/3 is now supported by all major browsers and cloud providers.

- QUIC improves connection speed and reliability compared to TCP.

- The protocol addresses issues like head-of-line blocking and connection delays.

- There are ongoing challenges in tooling and language support for QUIC.

- The adoption of HTTP/3 is expected to enhance user experience across various applications.

Link Icon 8 comments
By @gary_0 - 4 months
I would argue that uBlock Origin is a far more impactful technology than HTTP/3 for increasing website responsiveness and reducing load time in real-world usage.
By @jiffygist - 4 months
I just learned about HTTP/3 a few days ago. In Belarus I am having problems opening any site that uses cloudflare (e.g. qbittorrent.org, openstreetmap.org) beginning just about the time russia started messing with youtube. The solution for now is to set network.http.http3.enable to false in Firefox.
By @jauntywundrkind - 4 months
Just seems like you have to go far off the beaten path to use it so far. Maybe your load balanced will do it for you, maybe you can bring in and use hyper/h3, but short of that you're back to assuming your own webserver with no frameworks. https://github.com/hyperium/h3

Node has been slowly working along towards QUIC support. I dunno where Go is. https://github.com/nodejs/node/pull/53256

By @bjoli - 4 months
I find it somewhat of a shame that dns-over-http3 seems to have killed dns-over-quic and dns-over-dtls.

In my own testing the benefit of going dns-over-http3 is that it finally brings dns-over-https down to speeds comparable to dns-over-tls.

I wonder what is left on the table by not going the simple route of having a "dedicated protocol" over udp (understand what I mean, not what im saying).

By @cedws - 4 months
I miss HTTP/1.1. Yeah it’s slow, but it’s dead simple to implement. HTTP/2/3 are way more bloated and complex.