Re: Bandwidth Shaping requests coming from a web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 23 June 2004 4:06 am, Ian Holsman wrote:

> Hi.
>
> I would like to write a apache module which limits the speed we send
> out the response based on some internal algorithm (like a cookie, or a
> line in the request header, or some random number ;-)).

I don't know if Apache can do this sort of thing itself, but Squid certainly 
can (the phrase it uses for that is "delay pools").   Since you want to do 
this for a server whcih you run, rather than your clients accessing external 
servers, you want Squid in Accelerator Mode rather than Proxying Mode.

See http://www.squid-cache.org for more info.

> also .. any tips on how to this on a BSD box?

You can certainly run Squid under BSD (and you certainly can't run netfilter 
under BSD).

Regards,

Antony.

-- 
There's no such thing as bad weather - only the wrong clothes.

 - Billy Connolly

                                                     Please reply to the list;
                                                           please don't CC me.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux