Flow Control Using Data Link Layer In Computer Network/ What is the purpose of flow control in a data network?

Hello Friends, In this blog post I am going to let you know about the flow control mechanism of the data link layer.

Inside this blog post, we are going to discuss What is flow control in the data link layer? What is the difference between flow control in transport and data link layer?…..

…. How will you achieve flow control and error control in the data link layer? What is the purpose of flow control in a data network?

What is flow control in the data link layer?

Flow control is a set of procedures that are used to restrict the amount of data, the sender can send before waiting for an acknowledgment. The flow of data must not be permitted to overwhelm the receiver.

Any receiving device contains a limited speed at that it can process incoming data.

The receiving device must have the capability of flow control to inform the sending device before those limits are reached and to request that the transmitting device transmit fewer frames or stop temporarily.

Checking the processing of the incoming data is often slower in comparison to the rate of transmission.

Due to this reason, every receiving device has a block of memory, known as a buffer that is reserved for storing incoming data until they are processed.

When the buffer starts to fill up, the receiver must be able to tell the sender to halt transmission until it is once again able to receive.

To control the flow of data(flow control) across communication links, two methods have been developed :

Stop and wait
Sliding Window

What is the difference between flow control in the transport and data link layer?

In the data link layer, the flow control is used to control the router’s hop to hop transmission so that they do not flood the next hop. Whereas in the transport layer the flow control is to control the data flow in end-to-end transmission. Here source or sender make sure that he should not push more data to the receiver end, the sender can only send the data that a receiver end can easily accept it or as per the receiver end capability.

What is the purpose of flow control in a data network?

This flow control process is to control the rate of data transmission between the two nodes say sender and receiver. If speed would not be control then the data transmission process might be very slow as the receiver might be very slow to receive the data from the sender end. So to stop the situation of overwhelming at the receiver end we use this flow control technique during data transmission.

Stop and wait sends one frame at the time while the sliding window sends several frames at a time.

Conclusion:

Using this blog post we have gone through What is flow control in data link layer, What is the difference between flow control in transport and data link layer, How will you achieve flow control and error control in data link layer,
What is the purpose of flow control in a data network.

In the case of any queries, you can write to us at [email protected] we will get back to you ASAP.

Hope! you would have enjoyed this post about flow control used in the data link layer.

Please feel free to give your important feedbacks in the comment section below.

Have a great time! Sayonara!

Anurag

I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.