Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 08:02:11 -0600
From:      Ben Kadish <Ben.Kadish@happcontrols.com>
To:        Joel Dinel <dinjo@touchtunes.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Basic load balancing with IPFW
Message-ID:  <5.1.0.14.0.20020322075153.02ce8b60@mail.happcontrols.com>
In-Reply-To: <20020322084026.A21439@sunder.touchtunes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm not sure about doing this with ipfw, but perhaps you should check out 
pen in the ports collection. It's a TCP proxy that listens on a given port 
and load balances based on number of connections to each of the backend 
servers. If you're using it for HTTP, it's nice because it will remember 
which backend machine a client was last on, and try to send them to the 
same machine (good for preserving context). The algorithm is also smart 
enough to not bother with dead backend servers.

Hope that helps.

Ben


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020322075153.02ce8b60>