http-upstream-fair #
A load balancer for upstream blocks that sends each request to the least busy backend instead of plain round robin. Use it for backends that handle few requests at a time, such as single-threaded application servers. Add fair; to the upstream block.
Source: upstream source
Directives
fair #
syntax: fair any args; · context: upstream
Nginx Upstream Fair Proxy Load Balancer -- 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.
upstream_fair_shm_size #
syntax: upstream_fair_shm_size 1 arg; · context: http
Example
upstream mongrel {
fair;
server 127.0.0.1:5000;
server 127.0.0.1:5001;
server 127.0.0.1:5002;
}