Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2008 01:15:01 -0700
From:      =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= <ask@develooper.com>
To:        Rodrique Heron <swygue@rodhouse.org>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Understanding Load Balancing with DNS+PF+CARP
Message-ID:  <3E55632D-BD42-4299-BF63-976152B514DD@develooper.com>
In-Reply-To: <1a5f1a2d0808050648g4dcc4e02pe1904f1ffa8bb2cf@mail.gmail.com>
References:  <1a5f1a2d0808050648g4dcc4e02pe1904f1ffa8bb2cf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 5, 2008, at 6:48, Rodrique Heron wrote:

> I'm a running a Apache reverse proxy on PF+CARP, one node as master  
> the
> other backup. I want a active/active setup, but since I don't have a
> hardware load balancer I'm banking on DNS. I would like to  
> understand what
> happens when a host connects to the cluster for the first time after  
> the
> first DNS query.
>
> So a user request www.website.com, DNS round-robin points the user  
> to node1,
> what happens when a the user makes another request ?


"It depends".  The client is in control of that.  Clients are different.

The setup I usually recommend is to have CARP (or similar) move one IP  
around and then ahve nginx or perlbal running to load balance to the  
actual servers.


  - ask

-- 
http://develooper.com/ - http://askask.com/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E55632D-BD42-4299-BF63-976152B514DD>