Interview Prep/Networking/Network Models, TCP, UDP & Ports

What is a TCP window scale and why does it matter on fast links?

AdvancedConceptNetwork Models, TCP, UDP & Ports
Answer

The original 16-bit window caps at 64 KB, so throughput is limited to window / RTT. On a 100 ms link that is about 5 Mbit/s. The window scale option (RFC 7323) multiplies the window by 2^N, negotiated in the SYN, allowing windows of up to about 1 GB.

Bandwidth-delay product is the number to remember: a 1 Gbit/s link at 80 ms RTT needs about 10 MB in flight. Middleboxes that strip TCP options silently cap your throughput.

All Networking questions Roadmap: Networking for DevOps

More on Network Models, TCP, UDP & Ports