Nginx and traffic shaping

Hi there.

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”.

Thanks.


Piotr K.

Hello!

On Sat, Feb 13, 2010 at 06:35:28PM +0100, Piotr K. 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 D.