Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itoffshore/nginx-upstream-fair
The fair load balancer module for nginx
https://github.com/itoffshore/nginx-upstream-fair
Last synced: about 2 months ago
JSON representation
The fair load balancer module for nginx
- Host: GitHub
- URL: https://github.com/itoffshore/nginx-upstream-fair
- Owner: itoffshore
- Fork: true (sysulq/nginx-upstream-fair)
- Created: 2017-01-01T18:43:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T19:58:38.000Z (almost 7 years ago)
- Last Synced: 2024-07-08T15:41:43.291Z (2 months ago)
- Language: C
- Homepage: http://nginx.localdomain.pl
- Size: 47.9 KB
- Stars: 27
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Nginx Upstream Fair Proxy Load Balancer
**( compatible with nginx 1.11.6+ & with dynamic module capability ) **
--Description:
--The Nginx fair proxy balancer enhances the standard round-robin load balancer provided
with Nginx so that it will track busy back end servers (e.g. Thin, Ebb, Mongrel)
and balance the load to non-busy server processes.Further information can be found on http://nginx.localdomain.pl/
Ezra Zygmuntowicz has a good writeup of the fair proxy load balancer and how to use it here:
http://brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrelInstallation:
--You'll need to re-compile Nginx from source to include this module.
Modify your compile of Nginx by adding the following directive
(modified to suit your path of course):./configure --with-http_ssl_module --add-module=/absolute/path/to/nginx-upstream-fair
make
make installUsage:
--Change your Nginx config file's upstream block to include the 'fair' directive:
upstream mongrel {
fair;
server 127.0.0.1:5000;
server 127.0.0.1:5001;
server 127.0.0.1:5002;
}If you encounter any issues, please report them using the bugtracker at
http://nginx.localdomain.pl/Contributing:
--Git source repositories:
http://github.com/gnosek/nginx-upstream-fair/tree/master
http://git.localdomain.pl/?p=nginx-upstream-fair.git;a=summaryPlease feel free to fork the project at GitHub and submit pull requests or patches.