Computer Network & Network Security System — Transport Layer, NEC licence examination syllabus (Nepal Engineering Council).
Flow control asks whether the receiver can cope. Congestion control asks whether the network can — and nobody sends you an answer.
Congestion happens where more traffic arrives at a router than it can forward. The excess queues, the queue fills, and further arrivals are dropped. The damaging part is what happens next: every sender whose packet was dropped retransmits, which adds more traffic to an already overloaded router.
That feedback loop is why congestion collapses rather than degrading. Beyond a certain load, increasing offered traffic decreases the amount successfully delivered, because a growing share of what the network carries is retransmissions of things it already dropped. Every congestion control mechanism exists to keep the network below that point.No router tells a sender to slow down. TCP infers congestion from packet loss, on the reasoning that in a wired network loss almost always means a full queue rather than a corrupted bit.
Both smooth a bursty sender into something the network can carry, and the difference between them is exactly whether bursts are allowed.
The practical distinction: a leaky bucket makes an idle sender waste its allowance, because the hole drains whether or not anything is queued. A token bucket lets that sender save it up and transmit a burst later, which suits real traffic — applications are naturally bursty, and forbidding bursts entirely wastes capacity that nobody else was using.
Congestion control and flow control. Congestion is the network; flow is the receiver. The receiver advertises a window; the network does not.
Slow start being slow. It is the exponential phase.
Leaky bucket and token bucket. Leaky enforces a constant rate. Token enforces an average rate while permitting bursts.
Loss meaning congestion. True on wired links, and a genuine weakness on wireless, where loss is often interference — TCP then slows down for no reason.
Congestion collapses because dropped packets are retransmitted, adding load to an overloaded network.
Slow start doubles cwnd per round trip until ssthresh; congestion avoidance then adds one per round trip.
On loss: halve ssthresh, and restart at 1 after a timeout.
Leaky bucket = constant output. Token bucket = average rate with bursts permitted.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…