Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] deciding among load balancers

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


thushara at livemocha

Feb 12, 2008, 10:19 AM

Post #1 of 5 (905 views)
Permalink
[lvs-users] deciding among load balancers

I'm trying to decide between LVS and nginx for a load balancing
solution for a site with predicted high traffic - (say 10K HTTP
requests per second). I'm familiar with nginx as a reverse proxy /
image server. I have no familiarity with LVS. Do you think LVS has key
advantages
missing in nginx? If so, I would play with it to see how it fits our needs.

[.Is it correct that LVS provides failover semantics as well? Because
as far as I can tell, nginx doesn't, to get around this, we use DNS
based mechanism so we have more than one nginx server registered, but
of course this is less than ideal]

thanks much,
thushara

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

Feb 12, 2008, 1:04 PM

Post #2 of 5 (891 views)
Permalink
Re: [lvs-users] deciding among load balancers [In reply to]

On Tue, 12 Feb 2008, thushara wijeratna wrote:

> [.Is it correct that LVS provides failover semantics as well?

tools external to LVS handle the failover.

> Because
> as far as I can tell, nginx doesn't,

know nothing about it

> to get around this, we use DNS
> based mechanism so we have more than one nginx server registered, but
> of course this is less than ideal]

lvs was developed to get around the problems of DNS based
load balancing

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


greg at easyflirt

Feb 14, 2008, 3:16 AM

Post #3 of 5 (887 views)
Permalink
Re: [lvs-users] deciding among load balancers [In reply to]

thushara wijeratna a écrit :
> I'm trying to decide between LVS and nginx for a load balancing
> solution for a site with predicted high traffic - (say 10K HTTP
> requests per second). I'm familiar with nginx as a reverse proxy /
> image server. I have no familiarity with LVS. Do you think LVS has key
> advantages
> missing in nginx? If so, I would play with it to see how it fits our needs.
>

Hi,

here we are using LVS which load-balance using direct-routing to 2
squid3 in reverse mode, which do memory + disk caching. Seems that Nginx
didn't cache anything.

We are serving ~6K http requests/seconds.

Regards,

--
Greg


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


graeme at graemef

Feb 14, 2008, 3:28 AM

Post #4 of 5 (887 views)
Permalink
Re: [lvs-users] deciding among load balancers [In reply to]

Hi

On Tue, 2008-02-12 at 10:19 -0800, thushara wijeratna wrote:
> I'm trying to decide between LVS and nginx for a load balancing
> solution for a site with predicted high traffic - (say 10K HTTP
> requests per second). I'm familiar with nginx as a reverse proxy /
> image server. I have no familiarity with LVS. Do you think LVS has key
> advantages
> missing in nginx? If so, I would play with it to see how it fits our needs.

LVS has several advantages over nginx, the principal one being that it
*isn't* a webserver. It's a load-balancing framework, pure and simple.
Whether you want web, mail, DB, SSH, some_other_app is irrelevant - it
can probably be done.

It isn't a proxy, it's an application-agnostic router with features
allowing several different types of load balancing algorithm, method,
and scheduling.

> [.Is it correct that LVS provides failover semantics as well? Because
> as far as I can tell, nginx doesn't, to get around this, we use DNS
> based mechanism so we have more than one nginx server registered, but
> of course this is less than ideal]

LVS in and of itself does not provide failover; there are several tools
available which provide healthcheck and failover capability which allow
you to manage both your load balancers themselves and the "real" servers
they're talking to.

Graeme


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


misch at multinet

Feb 14, 2008, 3:39 AM

Post #5 of 5 (887 views)
Permalink
Re: [lvs-users] deciding among load balancers [In reply to]

Am Donnerstag, 14. Februar 2008 12:28 schrieb Graeme Fowler:
> > [.Is it correct that LVS provides failover semantics as well? Because
> > as far as I can tell, nginx doesn't, to get around this, we use DNS
> > based mechanism so we have more than one nginx server registered, but
> > of course this is less than ideal]
>
> LVS in and of itself does not provide failover; there are several tools
> available which provide healthcheck and failover capability which allow
> you to manage both your load balancers themselves and the "real" servers
> they're talking to.

LVS and the configuration daemon ldirectord integrates very nicely into
Linux-HA (aka heartbeat). Very simple to setup such a high available load
balancer.

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch [at] multinet
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.