Networking interview question · Most asked

Compare HTTP/1.1, HTTP/2 and HTTP/3.

Create a free account to save this page, take notes and track your progress. Sign in

Summary

HTTP/1.1 is text-based with one request at a time per connection. HTTP/2 uses binary frames and multiplexes many streams over one TCP connection with header compression. HTTP/3 does the same over QUIC (UDP), removing TCP head-of-line blocking and combining transport and TLS setup into one round trip.

Longer Answer

Browsers open around six HTTP/1.1 connections per host; HTTP/2 needs one. A lost packet stalls all HTTP/2 streams because TCP delivers in order; QUIC delivers streams independently and supports connection migration. gRPC requires HTTP/2 end to end. Typically you enable HTTP/2 and HTTP/3 at the CDN or load balancer and keep HTTP/1.1 to backends.

Key Points

  • 1.1: one request at a time per connection.
  • 2: multiplexed streams over TCP.
  • 3: QUIC over UDP, no TCP head-of-line blocking.
  • Enable at the edge; gRPC needs HTTP/2.

Deep dive: Networking Tutorial: HTTP/1.1, HTTP/2 and HTTP/3

Explanation

What interviewers look for

The head-of-line blocking distinction and practical deployment.

More most-asked Networking questions

← All Networking questions

Was this page helpful?