Computer Networks
Internals, engineering practices, and runtime tuning. 14 topics across 6 chapters.
TCP Deep Dive
4 topicsTCP Three-Way Handshake & Four-Way Termination
Why setup needs 3 steps and teardown needs 4 — the heart of TCP's state machine.
TCP Congestion Control
How TCP avoids 'internet-wide gridlock' — the core ideas behind slow start, AIMD, and BBR.
TCP Flow Control & Sliding Window
How to keep a fast sender from overwhelming a slow receiver.
Diagnosing TIME_WAIT and CLOSE_WAIT
The two most common TCP-state pathologies under high concurrency — one is by design, the other is a bug.
HTTP Evolution
3 topicsHTTP/2
Binary framing + multiplexing — dozens of concurrent requests over a single TCP connection.
HTTP/3 & QUIC
HTTP on top of UDP — 0-RTT setup, connection migration, and finally killing TCP head-of-line blocking.
WebSocket
A full-duplex long-lived TCP connection over the HTTP port — the de-facto standard for browser real-time.