Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How is it possible to limit download speed?

Lately I've asked this question. But the answer doesn't suit my demands, and I know that file hosting providers do manage to limit the speed. So I'm wondering what's the general algorithm/method to do that (I do mean downloading technique) - in particular limiting single connection/user download speed.

@back2dos I want to give a particular user a particular download speed (corresponding to hardware capabilities of course) or in other words give user ability to download some particular file with lets say 20kb/s. Surely I want to have an ability to change that to some other value.

like image 728
Denys S. Avatar asked May 05 '10 13:05

Denys S.


People also ask

How can I limit Mbps speed?

Click Manage Device, select the phone or computer that you want to set a limit on, toggle on Limit Rate, and click the icon in Speed limit Values to set the maximum upload and download rate.

Can websites restrict download speed?

Your ISP may decide to impose bandwidth throttling when it notices you're engaging in activities like streaming or torrenting. By limiting download speeds for bandwidth-intensive websites, ISPs reduce bandwidth usage on the network.


1 Answers

You could use a token bucket ( http://en.wikipedia.org/wiki/Token_bucket)

like image 53
Joshua Smith Avatar answered Sep 20 '22 15:09

Joshua Smith