1 of 4

Your RightSignal

How the internet works · 3 of 101 / 3

TCP congestion control

The concept

Why the internet nearly ground to a halt in 1986

In October 1986, a Berkeley network link fell from 32 kbit/s to about 40 bit/s. Router queues overflowed, senders resent the dropped packets, and the resends jammed the queues further. This is called congestion collapse.

Congestion control is TCP's fix: each sender caps its congestion window (cwnd), the data it may have sent but not yet seen acknowledged. About one window goes out per round trip (RTT), so rate ≈ cwnd ÷ RTT.

The sender can't see the routers, so it guesses from what comes back. Steady ACKs mean there is room, so it grows the window. A missing packet usually means some router's queue overflowed, so it shrinks the window.