Dual load balancer (one failsafe)?
Floren Munteanu
nginx at yqed.com
Mon Jun 16 03:16:48 MSD 2008
Hi Alex,
> -----Original Message-----
> From: Alexander Staubo [mailto:alex-
> udTnqj2FalhuMpJDpNschA at public.gmane.org]
> Posted At: Sunday, June 15, 2008 2:12 PM
> Posted To: gmane.comp.web.nginx.english
> Conversation: Dual load balancer (one failsafe)?
> Subject: Re: Dual load balancer (one failsafe)?
>
> On Sun, Jun 15, 2008 at 6:52 AM, Floren Munteanu <nginx-
> PPfIqZxcmgI at public.gmane.org> wrote:
> > What to do, use HaProxy or the built-in nginx balancer?
>
> Stick with Nginx if you are already familiar with it and you are using
> it for serving your PHP. There's no need to complicate things with yet
> another new component. I think HAProxy is a much better load balancer,
> but there are pros and cons to both approaches.
>
> You might want to check out layer 4 load-balancing as an option. The
> LVS project, of which Heartbeat is a part, also offers the IPVS
> system, which can load-balance network traffic to multiple nodes at
> the layer 4, ie. by distributing network traffic at the packet level.
>
> This is simpler and more limited than the kind of fancy HTTP magic
> that Nginx and HAProxy can do, but it's much faster since there no
> proxying involved. Here's a howto (based on Heartbeat 2, which you
> might want to avoid):
>
> http://www.novell.com/communities/node/4846/load-balancing-howto-lvs-
> ldirectord-heartbeat-2
>
> All of this stuff requires Linux, by the way.
>
> Alexander.
>
I will follow your advice and stick with nginx. Thank you for taking the time to reply.
Regards,
Floren
More information about the nginx
mailing list