AlgoViz

Acknowledgments, windows and retransmission

medium 7 min

TCP numbers bytes and acknowledges the next contiguous byte expected.

See it run

Read the baseline, inspect the incident and decide what the evidence supports.

Incident replay

A receiver with no space left

Advertised receive windowIllustrative measurements · KiB
Advertised receive window. Baseline 128 KiB128BaselineIncidentAfter intervention

Checkpoint 1 of 3

Baseline

The consumer drains bytes as fast as they arrive.

How much can fit in flight?

64 KiB allowed in flight

Simplified flight limit = smaller of the receive window and congestion window.

A steady established connection has data to send. Bytes already outstanding consume this allowance.