Interview Prep/Networking/TLS, HTTP & Application Layer

HTTP/1.1, HTTP/2 and HTTP/3: what changed and why does it matter in operations?

BeginnerScenarioTLS, HTTP & Application Layer
Answer

Situation read → Each version fixed head-of-line blocking at different layers.

What I'd do →

  1. HTTP/1.1 needs multiple connections for parallelism
  2. HTTP/2 multiplexes streams over one TCP connection with header compression, but one lost packet blocks all streams (TCP head-of-line blocking)
  3. HTTP/3 runs over QUIC on UDP 443 and avoids that, with faster handshakes
  4. Test with curl --http2 -I https://example.com and curl --http3 -I https://example.com
  5. Ensure firewalls allow UDP 443

Why → Fewer connections and fewer round trips reduce latency, especially on mobile networks.

Interview tip → Mention that gRPC requires HTTP/2.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer