Nginx and traffic shaping

Maxim Dounin mdounin at mdounin.ru
Sun Feb 14 05:05:11 MSK 2010


Hello!

On Sat, Feb 13, 2010 at 06:35:28PM +0100, Piotr Karbowski wrote:

> I wanna ask how you guys dealing with traffic shaping with nginx? I
> searching for something like "server.kbytes-per-second" from lighttpd,
> this is "Limit the throughput for all connections to the given limit
> in kbyte/s".

In nginx you may limit individual request bandwidth usage via 
limit_rate directive.  It is believed that aggregate limits may be 
(and should be) done at network level if required (i.e. via your 
favorite firewall / traffic shaper).

Maxim Dounin



More information about the nginx mailing list