perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <>
Subject Re: Rate limiting in Apache
Date Thu, 01 Feb 2001 03:03:22 GMT wrote:
> I'm interested in doing rate-limiting with Apache.  Basically, I want
> to give Apache a target bitrate to aim at.  When writing to one user,
> it writes as close to <bitrate> as the user/network can suck it down.
> When writing to two users (two connections), it writes to each
> connection at as close to <bitrate>/2 as possible... and so on.
> I've heard this can be controlled by mod_perl.  Can anyone point me to
> some examples?

If you find no good solution at the Apache level, you can 
try at the OS level.  Linux has some IP traffic shaping tools
that you can compile into the 2.2 & 2.4 kernels, called QoS
in the make xconfig.  Check out:

Also, on linux, you'll want the latest cbq script which makes
dealing with the tc config much easier.

And though I have never used it, dummynet for FreeBSD supposedly
has this functionality has well:

If you like shelling out the big $$$, Packeteer puts this in a 
box for you:

-- Josh
Joshua Chamas			        Chamas Enterprises Inc.
NodeWorks >> free web link monitoring	Huntington Beach, CA  USA                1-714-625-4051

View raw message