Sliding Windows and Bandwidth–Delay Product
Estimate how much unacknowledged byte data a sender needs to keep in flight and separate that from receiver buffering limits.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
An acknowledgment advances a byte boundary
A cumulative TCP acknowledgment identifies the next byte expected. It lets the sender retire earlier acknowledged bytes and advance within the allowed window. If an earlier range is missing, newly arrived later bytes can be held without moving the cumulative boundary. Selective acknowledgment can report more of the receiver’s state under the applicable protocol rules.
A window can limit an otherwise fast route
At 25 MB/s and a round-trip time of 40 ms, the bandwidth–delay product is one MB. Keeping only 100 kB outstanding would bound steady rate near 2.5 MB/s in a simplified round-trip model, even before losses. Real senders also respect congestion limits and data availability. Flow and congestion control explain why both window types may constrain one sender. Packet delay separates the components of the round trip.[1][2]