S6. Describe the differences between flow and congestion control? Flashcards

1
Q

What are flow and congestion control?

A

Mechanisms for effectively managing data transmission and ensuring efficient network communications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is flow control?

A

A technique used to prevent the sender from overwhelming the receiver by sending too much data too quickly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens without flow control?

A

The receiver buffer may be overflowed leading to packet loss

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

At what layer in the network stack is flow control implemented?

A

The transport layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is flow control implemented?

A

Through the sliding window protocol in TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does the sliding window protocol work in TCP?

A

The sliding window protocol involves the receiver advertising a window size that indicates the amount of data that it is able to accept. The sender can’t send data surpassing the advertised window size without first obtaining an acknowledgment from the receiver. This way, balance is maintained between the sender’s data rate and the receiver’s processing capacity, preventing packet loss and delays.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is congestion control?

A

Mechanism used to prevent congestion on the network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is congestion?

A

Congestion occurs when the total data traffic exceeds the network’s capacity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does congestion control work?

A

Congestion control mechanisms monitor the state of the network and adjust the rate of data transmission to avoid or alleviate congestion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What congestion control mechanisms does TCP use?

A

In TCP, congestion control is implemented through algorithms like Slow Start, Congestion Avoidance, Fast Retransmit, and Fast Recovery. These algorithms dynamically adjust the size of the congestion window (which determines how much data the sender can transmit before receiving an ACK) based on network conditions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is slow start a flow control or congestion control mechanism? How does it work?

A

Slow Start is a congestion control algorithm used in TCP. It increases the TCP congestion window size exponentially until packet loss is detected, a potential sign of congestion, at which point it instead increases the window size linearly to alleviate congestion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between flow and congestion control?

A

Flow control ensures the sender does not overwhelm the receiver, while congestion control prevents network congestion by controlling the rate of data transmission based on network feedback, ensuring that the overall network remains stable and efficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly