Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

failover/loadbalance

From: Christopher R Key (Chris) <chris.key(at)wcom.com>
Date: Mon Jul 16 2001 - 14:25:07 EDT


I've been working with the proxy code (unfortunately what shipped with 1.3.20 so I'm not sure if I've over looked this or not). Has any thought been put into failover/load balance support with the proxy module?

For example, suppose you have several backends, some of which have very heavy applications that run on them. Two of these backends are dedicated to these applications. Is there any way to tell mod_proxy to use both of these servers when it proxies, or to roll over to the other server should the first be down?


                | Proxy |

---------
| -------------------------------- | | |

------------ ------------ ------------ | JSP Serv | | JSP Serv | | PHP Serv | ------------ ------------ ------------

     "A" "B" "C"

In this case I have two JSP servers and one PHP server (yes I realize that all could be run on the same server, but this is just an example). Because of performance issues the two JSP servers (A & B) have the same content and are dedicated to running JSP applications. Is there anyway for something along the lines of:

ProxyPass /some_jsp_proxied_content http://jspA/proxied_content http://jspB/proxied_content

Yes, I know that the above does not work (at least with 1.3.20), but the idea is to give mod_proxy a list of alternatives to try incase one is down. Then after the list is exausted give the appropriate error.

Or would something like this be better performed by another module such as mod_backhand? Thanks.

-- 

Chris

--
Ignorance is bliss.
		-- Thomas Gray

Fortune updates the great quotes, #42:
	BLISS is ignorance.
Received on Mon Jul 16 18:23:54 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:17 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library