This is a discussion on high-availability: LVS vs HAProxy question within the Linux Networking forums, part of the Linux Forums category; Hi, I've been doing some research into how I can setup a high- availability open-source web cluster and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, I've been doing some research into how I can setup a high-
availability open-source web cluster and I've come to looking closely at LVS and HAProxy (I've used Pound till now). I understand that LVS is level-4 and haproxy is level-7 (app). To me, this means the following: LVS pros over haproxy: speed haproxy pros over LVS: statefull routing (based on IP/URL/etc.) Given that LVS requires kernel patches, I'm leaning towards haproxy. What I can't get my head around is the following question: On a high-level, can haproxy provide everything that LVS aims to do: giving a client a single-system view of the cluster? any thoughts much appreciated cheers doktora |
|
|||
|
Am Wed, 30 Apr 2008 04:49:29 -0700 schrieb doktora:
> Hi, I've been doing some research into how I can setup a high- > availability open-source web cluster and I've come to looking closely > at LVS and HAProxy (I've used Pound till now). > > I understand that LVS is level-4 and haproxy is level-7 (app). > > To me, this means the following: > > LVS pros over haproxy: speed > > haproxy pros over LVS: statefull routing (based on IP/URL/etc.) > > Given that LVS requires kernel patches, I'm leaning towards haproxy. LVS is in the kernel included. You can also build a similar setup with squid, depends on what is more important to you security or speed. We have both solutions in serveral configs in production environments, runs stable and nice cya |