How does TCP flow control differ from congestion control?
IntermediateConceptNetwork Models, TCP, UDP & Ports
Answer
Flow control protects the receiver: it advertises a receive window (rwnd) telling the sender how much unacknowledged data it can have in flight. Congestion control protects the network: the sender keeps a congestion window (cwnd) and grows or shrinks it based on loss or delay signals.
The sender's effective window is min(rwnd, cwnd). Slow start doubles cwnd per RTT until a threshold, then congestion avoidance grows it linearly.
More on Network Models, TCP, UDP & Ports
What are the layers of the OSI model, and why does a DevOps engineer care?BeginnerHow does the TCP/IP model map to the OSI model?BeginnerWhat is the difference between TCP and UDP?BeginnerDescribe the TCP three-way handshake.BeginnerHow does TCP close a connection, and what is TIME_WAIT?IntermediateWhat is a port, and what are well-known, registered and ephemeral ranges?Beginner