nginx/src
Vladimir Homutov 0c4ccbea23 Upstream: ngx_http_upstream_random module.
The module implements random load-balancing algorithm with optional second
choice.  In the latter case, the best of two servers is chosen, accounting
number of connections and server weight.

Example:

upstream u {
    random [two [least_conn]];

    server 127.0.0.1:8080;
    server 127.0.0.1:8081;
    server 127.0.0.1:8082;
    server 127.0.0.1:8083;
}
2018-06-15 11:46:14 +03:00
..
core Resolver: require name servers. 2018-06-13 22:37:49 +03:00
event SSL: removed extra prototype. 2018-06-06 13:31:05 +03:00
http Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00
mail SSL: deprecated the "ssl" directive. 2018-04-25 14:57:24 +03:00
misc Style: aligned ngx_null_command. 2017-07-12 11:34:04 +03:00
os Win32: fixed comment in ngx_gettimeofday() calculations. 2018-05-29 11:47:32 +03:00
stream Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03:00