summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_setaffinity.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2018-06-15 11:46:14 +0300
committerVladimir Homutov <vl@nginx.com>2018-06-15 11:46:14 +0300
commit0c4ccbea23813a50132df511d4445bc1686dbc2f (patch)
tree953fbddab43d9e5d8a06e2d8f1e61d1e006a21dd /src/os/unix/ngx_setaffinity.c
parent2eab9efbe4050ab471cfa3ed778d751454fcd87d (diff)
downloadnginx-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