2007/11/29

Limit Bandwidth with bwmod for apache (Per Vhost/Directory)

Limit Bandwidth (Per Vhost/Directory)

The main goal, is to be able to "assign" a maximum (or fixed) bandwidth available to a vhost.
This is achieved inserting small delays while sending the data, thus limiting the top speed a client can use. In example, if we assign 100kb to a vhost, the first user will be able to download at 100kb. If another user starts downloading, each will be able to get 50kb/s max... A third, 33kb/s each.. and so on.

No comments: