Networking Forums

Networking Forums > Computer Networking > Linux Networking > high-availability: LVS vs HAProxy question

Reply
Thread Tools Display Modes

high-availability: LVS vs HAProxy question

 
 
doktora
Guest
Posts: n/a

 
      04-30-2008, 11:49 AM
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
 
Reply With Quote
 
 
 
 
Burkhard Ott
Guest
Posts: n/a

 
      04-30-2008, 01:22 PM
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
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LVS or Haproxy for 50k+ concurrent connections 2098ujhs@hushmail.com Linux Networking 0 12-01-2007 08:36 PM
TCP-High Availability Jarek Linux Networking 3 06-29-2007 02:36 PM
High-availability bonding .. what's the problem? Heiko Gerstung Linux Networking 1 01-24-2005 04:06 PM
Availability question Newbie Scott Broadband 8 01-13-2004 03:43 PM
Question about High ARP load MadMax Linux Networking 3 01-08-2004 12:07 PM



1 2 3 4 5 6 7 8 9 10 11