perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mod_p...@att.net
Subject Re: lame load balancer, mod_proxy, and sticky sessions
Date Tue, 10 Sep 2002 16:05:10 GMT
perrin@elem.com wrote:
>But you're not accounting for the possibility of server 
>failure on the backend. A proper load-balancer
(including the open source ones and 
> mod_backhand) would detect dead servers and handle the 
failover to 
> another server. 
This is true. Then one has to ping the network which is 
very expensive. --- yes, a special product would be 
better.

> Building this yourself is probably not worth it, with 
> so many open source solutions already available.

The original post consists of two parts: to proxy to the 
right machine and to handle the failover. If there is a 
quick solution to the first part, why not make it and 
have the second part be solved later ? 

Peter Bi

> mod_perl@att.net wrote:
> > The idea to modify mod_proxy.c is probaly the most 
> > convenient solution. Instead of configure backend 
> > machine from the ProxyPass setting, you may specifically 
> > assign it to the one in the cookie, which takes only a 
> > few lines of code to change --- well, plus extra steps 
> > to handle the cookie.
> 
> But you're not accounting for the possibility of server failure on the 
> backend.  A proper load-balancer (including the open source ones and 
> mod_backhand) would detect dead servers and handle the failover to 
> another server.  Building this yourself is probably not worth it, with 
> so many open source solutions already available.
> 
> - Perrin
> 

Mime
View raw message