diff options
| author | Vladimir Homutov <vl@nginx.com> | 2018-06-15 11:46:14 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2018-06-15 11:46:14 +0300 |
| commit | 0c4ccbea23813a50132df511d4445bc1686dbc2f (patch) | |
| tree | 953fbddab43d9e5d8a06e2d8f1e61d1e006a21dd /src/os/unix/ngx_setaffinity.c | |
| parent | 2eab9efbe4050ab471cfa3ed778d751454fcd87d (diff) | |
| download | nginx-0c4ccbea23813a50132df511d4445bc1686dbc2f.tar.gz nginx-0c4ccbea23813a50132df511d4445bc1686dbc2f.tar.bz2 | |
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;
}
Diffstat (limited to 'src/os/unix/ngx_setaffinity.c')
0 files changed, 0 insertions, 0 deletions
