Fair load balancer module: upstream_fair

Hi,

Im thinking in building for nginx the upstream_fair module.
I just want to make sure I got the instructions right.

  1. Download all needed bits for nginx, including the server source code
  2. Buuild the NGINX server aloing with the upstream_fair module by
    adding
    the following: --add-module=src/upstream_fair

3, make && make install

There were some mentions about a patch for the std balance module:
http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule - what is this
patch about and do I need to patch manually the nginx source code for
upstream_fair ?

Im planning in using Nginx 0.7.65 on Solaris 10 x86/sparc.

thanks,
Stefan

No, you don’t need to patch Nginx itself to use upstream_fair. The
instructions you posted should be enough. The patch you mentioned is for
the upstream_hash module only.

cheers. worked fine, I mean compiled fine.
All configuration goes under nginx.conf ?

stefan

On nie, mar 21, 2010 at 08:48:15 +0200, Stefan P. wrote:

cheers. worked fine, I mean compiled fine.
All configuration goes under nginx.conf ?

Yup. Or a file included from there.

Best regards,
Grzegorz N.

On nie, mar 21, 2010 at 04:44:11 +0200, Stefan P. wrote:

There were some mentions about a patch for the std balance module:
http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule - what is this
patch about and do I need to patch manually the nginx source code for
upstream_fair ?

Im planning in using Nginx 0.7.65 on Solaris 10 x86/sparc.

No, you don’t need to patch Nginx itself to use upstream_fair. The
instructions you posted should be enough. The patch you mentioned is for
the upstream_hash module only.

Best regards,
Grzegorz N.