April 18, 2011 01:45PM
Thanks for the reply, Francis.
Let detail more the scenario, so you understand what I try to do.

[ 1.localserverip (main load balancer, with nginx and php-fpm installed) ]
|
---- + [ 2.localserverip (node with php-fpm installed) ]
|
---- + [ 3.localserverip (node with php-fpm installed) ]
|
---- + [ 4.localserverip (node with php-fpm installed) ]

A better graphical example can be viewed in this image:
http://farm6.static.flickr.com/5023/5631528237_9153f0d4a5_o.gif

Basically, 1.localserverip is the site entrance, where nginx load balancing is done.
Each server (including the 1.localserverip) will have the exact same content into /var/www/html directory.
The served content consist in static (images, cass, js, etc.) and php files.
So if an user access the site, 1.localserverip will pick a node and serve the content, based on the load balancing setup:
upstream proxy {
server 1.localserverip:8000;
server 2.localserverip:8000;
server 3.localserverip:8000;
server 4.localserverip:8000;
}

My goal is to be able to load balance not only the proxy but also the fastcgi.
What would be the configuration like?
Subject Author Posted

Upstream setup with proxy and fastcgi?

TECK April 14, 2011 02:15PM

Re: Upstream setup with proxy and fastcgi?

TECK April 16, 2011 06:49PM

Re: Upstream setup with proxy and fastcgi?

Igor Sysoev April 18, 2011 10:12AM

Re: Upstream setup with proxy and fastcgi?

TECK April 18, 2011 11:13AM

Re: Upstream setup with proxy and fastcgi?

TECK April 18, 2011 12:29PM

Re: Upstream setup with proxy and fastcgi?

Francis Daly April 18, 2011 01:08PM

Re: Upstream setup with proxy and fastcgi?

TECK April 18, 2011 01:45PM

Re: Upstream setup with proxy and fastcgi?

TECK April 18, 2011 02:25PM

Re: Upstream setup with proxy and fastcgi?

Igor Sysoev April 18, 2011 02:02PM

Re: Upstream setup with proxy and fastcgi?

TECK April 18, 2011 02:45PM

Re: Upstream setup with proxy and fastcgi?

Francis Daly April 18, 2011 03:04PM

Re: Upstream setup with proxy and fastcgi?

Igor Sysoev April 18, 2011 02:30PM

Re: Upstream setup with proxy and fastcgi?

Francis Daly April 18, 2011 02:36PM

Re: Upstream setup with proxy and fastcgi?

TECK April 18, 2011 03:11PM

Re: Upstream setup with proxy and fastcgi?

TECK April 22, 2011 05:02AM

Re: Upstream setup with proxy and fastcgi?

Francis Daly April 23, 2011 06:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 199
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready