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

Explain TCP Fast Open and why it did not become universal.

AdvancedConceptNetwork Models, TCP, UDP & Ports
Answer

TFO lets a client send data in the SYN on repeat connections using a cookie obtained in an earlier handshake, saving one RTT. It needs support on both ends and enabling via sysctl and socket option.

It stalled because some middleboxes drop SYNs carrying data, replayable data in SYN is a security problem for non-idempotent requests, and QUIC/TLS 1.3 0-RTT solved the same latency problem at a higher layer.

All Networking questions Roadmap: Networking for DevOps

More on Network Models, TCP, UDP & Ports