Every time you stream a video, send an email, or open a webpage, your computer is silently running one of the most consequential algorithms in engineering history.
The problem is brutal: thousands of TCP flows share the same physical wires, but no central authority tells them how fast to go. Send too slowly and you waste capacity. Send too fast and routers drop packets, turning a mild slowdown into congestion collapse — the state the early Internet nearly reached in 1986, when throughput on some links fell by a factor of 1,000.
The solution, invented by Van Jacobson in 1988 and refined over decades, is a simple two-rule loop:
- Additive Increase (AI): every round-trip time that passes without a loss, grow the congestion window by one packet. Probe for more bandwidth.
- Multiplicative Decrease (MD): the moment a packet is lost, halve the window. Back off sharply.
This AIMD rhythm produces the famous sawtooth shape of the congestion window over time — the visual signature of every TCP connection alive today.
Comments
Loading comments...