Re: throttling suggestions ?
Re: throttling suggestions ?
- Subject: Re: throttling suggestions ?
- From: Peter Sichel <email@hidden>
- Date: Wed, 28 Apr 2004 10:35:11 -0400
On Apr 28, 2004, at 9:41 AM, Nicolas Berloquin wrote:
I'm writing an app that does upload throttling (you set a max
upload rate).
Perhaps you could say more about how you are trying to do this.
I'm familiar with two basic approaches:
(1) Buffering and waiting (Queueing) to simulate an impaired connection
(reduce the amount of data transferred per unit time).
Since TCP is adaptive, it should gradually adjust to the impaired
bandwidth.
Notice this doesn't address congestion and increases latency.
(2) Using TCP's built-in flow control mechanism to limit the rate at
which
data is actually sent. You do this by adjusting the window size and
withholding or inserting ACKs to tell TCP when it is allowed to send
more data and how much.
Kind Regards,
- Peter
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.