4.3.26 · D3 · HinglishComputer Networks

Worked examplesHTTP - 3 — QUIC, UDP-based, why

2,613 words12 min read↑ Read in English

4.3.26 · D3 · Coding › Computer Networks › HTTP - 3 — QUIC, UDP-based, why

Yeh page parent HTTP/3 note ki "numbers se prove karo" companion hai. Parent ne bataya kyun QUIC TCP se behtar hai. Yahan hum har case grind karenge — fresh vs resumed connections, zero loss, heavy loss, ek object vs pachaas, aur woh tricky "resumed connection with a lost packet" twist — taaki exam mein koi bhi scenario tumhe surprise na kare.

Shuru karne se pehle, un do quantities ka ek reminder jo hum har jagah reuse karenge.


The scenario matrix

Is topic se jo bhi question poochha ja sakta hai, woh in cells mein se kisi ek mein aata hai. Neeche har worked example us cell ke saath tagged hai jo woh fill karta hai.

# Case class Concrete question jo woh poochha hai Example
A Setup, fresh connection Bilkul nayi visit par pehla byte aane mein kitna time? Ex 1
B Setup, resumed (0-RTT) Returning visitor ke liye kitna time? Ex 2
C Degenerate: Perfect/local link par kya hota hai? Ex 3
D Zero-loss delivery () Kya QUIC tab bhi help karta hai jab kuch lost nahi hota? Ex 4
E Single loss, small Ek object, ek loss — TCP vs QUIC Ex 5
F Single loss, large 50 objects, ek loss — 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 Kya 0-RTT tab bhi jeetta hai agar woh packet drop ho jaye? 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 — kitna saved? ::: ms. ke saath, QUIC TCP vs kitne objects unblock karta hai? ::: Zero — HOL blocking loss-triggered hai, isliye dono tie karte hain. 50 objects, pehla packet lost: TCP blocked count? ::: . loss for 50 packets at ? ::: . Kya 0-RTT tab bhi TCP+TLS ko beat karta hai agar pehla packet lost ho? ::: Haan — yeh par degrade hota hai, jo TCP ke se ab bhi kam hai.


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