Welcome! Log In Create A New Profile


Nginx with LVS on Linux

March 19, 2009 07:51AM

I'm planing to use nginx on existing LVS load balancer with more than 10
numbers of web servers as back-ends. My main objective is to use nginx
as a reverse-proxy while compressing the data streaming. Since the LVS
running on Linux, I have planned to run the Nginx on the same Linux box
though I have tested it on FreeBSD.

Here is the setup I am looking for


I will be running LVS for to load balance user connections requesting
coming through Nginx and forward to back-end servers in Round-robin
algorithm . LVS also handing the the persistence, healthchecks and
failovers with pulse (piranha).

I would like to know is there a performance degration on Nginx when
moving from FreeBSD to Linux (Rhel5)..?
I will be testing the setup to run nginx and lvs on same box but is this
feasible..? I googled but haven't seen any posts regards to nginx+lvs.

I wonder is there any way that we could run nginx with keepalived while
nginx to handle the load balancing and completely replace LVS. Right now
I'm running two back-end servers front-end with nginx reverse-proxy;
every time when I refresh the browser it connecting to back-end servers
in round-robin method. I can't keep the session connected to single
back-end server (persistence).

I would really appreciate your advice.

Thanks in advance
Subject Author Posted

Nginx with LVS on Linux

hirantha March 19, 2009 07:51AM

Re: Nginx with LVS on Linux

Cherife Li March 19, 2009 10:20AM

Re: Nginx with LVS on Linux

hirantha March 19, 2009 12:22PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready