Flow Control vs Congestion Control

life24

Senior member
Mar 25, 2014
283
0
76
Hello,
What is difference between these?
Each of ways are in data link layer?
 

Gryz

Golden Member
Aug 28, 2010
1,551
204
106
Flow control is an algorithm between two devices. To make sure the sender does not send more/faster than the receiver can receive. It can be as simple as the receiver sending control-S and control-Q to pause the sender.

Congestion control is an algorithm in a network with multiple devices. The goal is to make sure not one single sender can use all the bandwidth, and starve all the other senders in the network. The limitating factor with congestion is not the receiver, but the network that is in-between senders and receivers.

Flow-control and congestion-control are very related. But they are not the same.

Let's look at TCP.
When two devices communicate over TCP, the receiver can do flow-control by changing the value of the advertised receive-window. If the receiver sets the window to 0, it basically means that the sender needs to stop sending new data. Until the receiver send another TCP-segment with a larger receive-window (larger than 0).

Another mechanism for flow-control with TCP are the acknowledgments. When a sender starts sending TCP-segments, he will receive acks from the receiver. The sender can look at the pace/speed of the incoming acks to make an estimate how fast he can keep sending.

Congestion-control with TCP works differently. Routers in the middle of the network, that experience congestion, will start dropping packets. The sender will notice that, because he gets no more, or less acks back. When a sender sees that, he must start sending TCP-packets at a slower pace. So the dropping of packets is a mechanism to achieve congestion-control in TCP/IP-networks.

Flow control can happen on any layer. Congestion control is in layer 3 and 4.

Hope this helps.
 

fiberst

Member
Aug 29, 2014
44
0
0
Flow control is controlled by the receiving side. It ensures that the sender only sends what the receiver can handle. Think of a situation where someone with a fast fiber connection might be sending to someone on dialup or something similar. The sender would have the ability to send packets very quickly, but that would be useless to the receiver on dialup, so they would need a way to throttle what the sending side can send. Flow control deals with the mechanisms available to ensure that this communication goes smoothly.

Congestion control is a method of ensuring that everyone across a network has a "fair" amount of access to network resources, at any given time. In a mixed-network environment, everyone needs to be able to assume the same general level of performance. A common scenario to help understand this is an office LAN. You have a number of LAN segments in an office all doing their thing within the LAN, but then they may all need to go out over a WAN link that is slower than the constituent LAN segments. Picture having 100mb connections within the LAN that ultimately go out through a 5mb WAN link. Some kind of congestion control would need to be in place there to ensure there are no issues across the greater network.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |