Perlbal as webserver

Ashish Padave ashishpadave at gmail.com
Mon May 14 20:21:55 UTC 2007


Hi,

I was thinking of using perbal to forward requests for static content to 
lighttpd and all php requests to Apache. Can the perbal I am using for 
loadbalancing do the serving for static content? Is this advisable? Is there 
some special configuration?

Thanks

Ashish
----- Original Message ----- 
From: "Ask Bjørn Hansen" <ask at develooper.com>
To: "Ashish Padave" <ashishpadave at gmail.com>
Cc: <perlbal at lists.danga.com>
Sent: Friday, May 11, 2007 11:10 PM
Subject: Re: LAMP - perbal and wackamole - suggestions pls.


>
> On May 11, 2007, at 2:42 PM, Ashish Padave wrote:
>
>> YAY!!
>>
>> The answer I hoped for!
>>
>> So does that mean, perlbal is running on both machines?
>
> You could do that.  However, since you only have two servers there's  no 
> practical reason to distribute the perlbal load anyway.  I would  setup 
> perlbal on both boxes and just have wackamole move your public  IP between 
> the two.
>
> If you need to bind to specific IPs (rather than just *:80) you can  on 
> Linux allow processes to bind to not-local IP addresses with
>
> echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind
>
> or the similar sysctl switch.
>
> http://www.apsis.ch/pound/pound_list/archive/2006/2006-12/1165619148000
> http://develooper.com/talks/Real-World-Scalability-MySQL-2007-r12.pdf 
> (page ~77)
>
>    - ask
>
>
> -- 
> http://develooper.com/ - http://askask.com/
>
> 



More information about the perlbal mailing list