Re: high-availability: LVS vs HAProxy question



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
.