Thanks Willy and Craig. Lots of ideas there for me to look into!
Regards,
Guy
On Fri, Sep 16, 2011 at 3:26 PM, Willy Tarreau <w#1wt.eu> wrote:
> Hi Guy,
>
> On Fri, Sep 16, 2011 at 11:44:12PM +0200, Craig wrote:
> > > I was wondering if there's a way to load balance traffic over a number
> of
> > > lower-bandwidth haproxy machines? I've used heartbeat to handle
> > > active-passive failover with haproxy before, I guess what I'm really
> asking
> > > if there's a way to do active-active load balancing over a bunch of
> haproxy
> > > machines, with the capability to add more machines to the pool easily,
> if
> > > required?
> >
> > You might want to have a look at the iptables CLUSTERIP target. I
> > haven't tested it much, though.
>
> Also, it depends on the level of load you're trying to achieve. Most
> sites are more than comfortable with only an active-passive setup, and
> if you only needa few LBs, sometimes just announcing a few IPs with your
> DNS and having them bound to VRRP addresses can be enough.
>
> You can also use LVS in direct routing mode in front of your farm of
> haproxy LBs, but for this you'll have to either install 2 more machines
> to run LVS, or apply the localnode patch to be able to load balance
> between the LVS node and other ones. This can be very cheap and very
> scalable though.
>
> I also know other people who simply make use of their border routers
> for the load balancing : they declare multiple routes and the router
> hashes the IPs to load balance them across multiple LBs. Simple and
> efficient ! Such a setup implies that you almost never stop your LBs
> otherwise you'll have painful changes to enter into the routers.
>
> Just a few thoughs ;-)
>
> Cheers,
> Willy
>
>
-- Guy Knights Systems Administrator Eastside Games www.eastsidegamestudio.com guy#eastsidegamestudio.comReceived on 2011/09/19 07:04
This archive was generated by hypermail 2.2.0 : 2011/09/19 07:15 CEST