4.3.26 · D3Computer Networks

Worked examples — HTTP - 3 — QUIC, UDP-based, why

2,393 words11 min readBack to topic

This page is the "prove it with numbers" companion to the parent HTTP/3 note. The parent told you why QUIC beats TCP. Here we grind through every case — fresh vs resumed connections, zero loss, heavy loss, one object vs fifty, and the tricky "resumed connection with a lost packet" twist — so no scenario surprises you in an exam.

Before we start, one reminder of the two quantities we will reuse everywhere.


The scenario matrix

Every question this topic can ask lives in one of these cells. Each worked example below is tagged with the cell it fills.

# Case class Concrete question it asks Example
A Setup, fresh connection How long before the first byte on a brand-new visit? Ex 1
B Setup, resumed (0-RTT) How long for a returning visitor? Ex 2
C Degenerate: What happens on a perfect/local link? Ex 3
D Zero-loss delivery () Does QUIC still help when nothing is lost? Ex 4
E Single loss, small One object, one loss — TCP vs QUIC Ex 5
F Single loss, large 50 objects, one loss — the HOL gap Ex 6
G Probabilistic loss over many packets "At least one loss" probability Ex 7
H Real-world word problem Mobile user, mixed setup + loss, total wait Ex 8
I Exam twist: 0-RTT with a lost first packet Does 0-RTT still win if that packet drops? Ex 9

Case A — Setup on a fresh connection


Case B — Resumed (0-RTT) connection


Case C — Degenerate limit


Case D — Zero packet loss ()


Case E — Single loss, small

Figure — HTTP - 3 — QUIC, UDP-based, why

Case F — Single loss, large (the headline case)

Figure — HTTP - 3 — QUIC, UDP-based, why

Case G — Probabilistic "at least one loss"


Case H — Real-world word problem


Case I — Exam twist: 0-RTT but the first packet is lost


Recall Quick self-test

Fresh QUIC vs TCP+TLS 1.3 setup at 80 ms RTT — how much saved? ::: ms. With , how many objects does QUIC unblock vs TCP? ::: Zero — HOL blocking is loss-triggered, so both tie. 50 objects, first packet lost: TCP blocked count? ::: . loss for 50 packets at ? ::: . Does 0-RTT still beat TCP+TLS if the first packet is lost? ::: Yes — it degrades to , still less than TCP's .


Connections

  • 4.3.26 HTTP - 3 — QUIC, UDP-based, why (Hinglish)
  • HTTP-2 — multiplexing and HPACK
  • TCP — three-way handshake and reliability
  • UDP — connectionless transport
  • TLS 1.3 — handshake and 0-RTT
  • Head-of-line blocking
  • Congestion control — slow start, AIMD
  • Middlebox ossification and protocol evolution