[EMAIL PROTECTED] 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 > [EMAIL PROTECTED] 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 >