Level 1: Bronze
A memorized definition. Not wrong, but it stops there.
Flow control matches the receiver's speed. Congestion control matches the network's state.
2 stars Asked often.
In one or two sentences
Flow control makes the sender send only what the receiver can handle. Congestion control adjusts the sending rate so the network in between does not clog.
Say it out loud, or type it below. What you type never leaves this device.
A memorized definition. Not wrong, but it stops there.
Flow control matches the receiver's speed. Congestion control matches the network's state.
Correct, but too broad or missing context.
In flow control the sender sends only as much as the window the receiver advertises. In congestion control the sender keeps a congestion window, shrinks it on loss and grows it when things go well.
Reaches principle, use and trade-off, with words that invite the next question.
The amount in flight is the smaller of the receive window and the congestion window. The receive window is an agreement between the two ends so the receiver buffer does not overflow. The congestion window has to be estimated, since nobody announces the network state, so it is guessed from loss and delay. The basic scheme grows fast in slow start, then linearly after a threshold, and cuts on loss. Loss based schemes inflate delay on paths with big buffers, so delay based algorithms exist too.
These are likely next questions from an interviewer. Think of your answer first, then press the button.
1 / 3
Why does slow start grow fast despite its name?
The name means the starting window is small. The window grows with every ACK, doubling each round trip, so it finds the available bandwidth quickly.
2 / 3
How does TCP notice a loss?
A timeout, or duplicate ACKs. With duplicate ACKs it retransmits at once instead of waiting for the timeout.
3 / 3
How is the congestion window reduced?
With AIMD: add a little on success, cut by a multiplicative factor on loss. Competing flows converge toward a fair share.