How is the congestion control, when the buffer is finite, in an exchange of packets between sender and recipient?
8 replies to this topic
#1
Posted 14 October 2010 - 06:55 AM
|
|
|
#2
Posted 14 October 2010 - 05:42 PM
What would be the congestion control ? The sender should limit the rate at which it sends traffic to your connection so as to take control of congestion?
#3
Posted 17 October 2010 - 03:00 PM
Dropping packets is usually the way it works, though that's more of the router's job. Is there any reason why you replied to your own question?
sudo rm -rf /
#4
Posted 17 October 2010 - 03:26 PM
dargueta said:
Dropping packets is usually the way it works, though that's more of the router's job. Is there any reason why you replied to your own question?
I asked if what I think is correct
#5
Posted 17 October 2010 - 04:13 PM
That's not really the way it works. The server is supposed to ignore/delay requests as necessary to throttle the traffic back.
sudo rm -rf /
#6
Posted 17 October 2010 - 07:51 PM
dargueta said:
That's not really the way it works. The server is supposed to ignore/delay requests as necessary to throttle the traffic back.
Is there any algorithm to control congestion?
#7
Posted 17 October 2010 - 08:43 PM
FIFO, I guess. Keep a queue of queries of some predetermined size, and send an error message back to the ones that don't fit in the queue.
sudo rm -rf /
#8
Posted 18 October 2010 - 01:57 AM
Limiting send rate is typically implemented using Leaky Bucket algorithm. In that case, sender is responsible to ensure that bucket does not overflow, or otherwise data will be lost. This algorithm is not perfect, because it still does not guarantee that congestion will not occur.
If congestion occurs at receiver (e.g. it is a server with many socket connections), then control can be implemented there - receiver is expected to control amount of data sent by the remote node. For example, receiver sends allowed amount of data to each of the senders, and senders may not send more than that until ordered so.
If congestion occurs at receiver (e.g. it is a server with many socket connections), then control can be implemented there - receiver is expected to control amount of data sent by the remote node. For example, receiver sends allowed amount of data to each of the senders, and senders may not send more than that until ordered so.
#9
Posted 18 October 2010 - 07:14 AM
zoranh said:
Limiting send rate is typically implemented using Leaky Bucket algorithm. In that case, sender is responsible to ensure that bucket does not overflow, or otherwise data will be lost. This algorithm is not perfect, because it still does not guarantee that congestion will not occur.
If congestion occurs at receiver (e.g. it is a server with many socket connections), then control can be implemented there - receiver is expected to control amount of data sent by the remote node. For example, receiver sends allowed amount of data to each of the senders, and senders may not send more than that until ordered so.
If congestion occurs at receiver (e.g. it is a server with many socket connections), then control can be implemented there - receiver is expected to control amount of data sent by the remote node. For example, receiver sends allowed amount of data to each of the senders, and senders may not send more than that until ordered so.
OK. The best control is to use end-to-end ? In which, TCP reduces the window size according to the packet loss ?
See if my thinking is correct:
If a TCP sender realizes there is little congestion on the path between him and the recipient will increase its sending rate, if realize exist congestion on the way will reduce its sending rate. Was that it?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









