Date: Wed, 30 Aug 2006 15:09:41 +0100 From: Vince <jhary@unsane.co.uk> To: Phil Regnauld <regnauld@catpipe.net> Cc: Baldur Gislason <baldur@foo.is>, freebsd-net@freebsd.org Subject: Re: Load balancing for web servers Message-ID: <44F59C25.8040603@unsane.co.uk> In-Reply-To: <20060830132659.GF30474@catpipe.net> References: <20060830131929.GD804@gremlin.foo.is> <20060830132659.GF30474@catpipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Phil Regnauld wrote: > Baldur Gislason (baldur) writes: >> I'd like to set up a load balancing and resiliance system to >> load balance between a bunch of web servers running Apache tomcat (slow java stuff). >> Ideally I'd like each client IP to get mapped to a certain server and keep that >> mapping throughout the entire session. I'd also like to have some means of detecting >> a server that goes down and yank it from the load balancing pool. I do understand I >> may have to write some code on that side. > > pf and sticky rdr. > > Use a shell script that pings the hosts on the backend, to insert/remove > them from a persistent table. > I'd probably go with that for a basic solutions myself, but also have a look at the results of cd /usr/ports && make search key="load balance" haproxy looks promising for your requirements. Vince > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F59C25.8040603>