Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_upstream_module.xml @ 2230:283b1e67eaa6
Updated docs for the upcoming NGINX Plus release.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 30 Aug 2018 22:53:18 +0300 |
parents | 0974dc0a6209 |
children | e28e3d0f0d20 |
comparison
equal
deleted
inserted
replaced
2229:f134633cff5c | 2230:283b1e67eaa6 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_upstream_module" | 9 <module name="Module ngx_stream_upstream_module" |
10 link="/en/docs/stream/ngx_stream_upstream_module.html" | 10 link="/en/docs/stream/ngx_stream_upstream_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="31"> | 12 rev="32"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_upstream_module</literal> module (1.9.0) | 17 The <literal>ngx_stream_upstream_module</literal> module (1.9.0) |
523 The default method is <literal>least_conn</literal> | 523 The default method is <literal>least_conn</literal> |
524 which passes a connection to a server | 524 which passes a connection to a server |
525 with the least number of active connections. | 525 with the least number of active connections. |
526 </para> | 526 </para> |
527 | 527 |
528 <para id="random_least_time"> | |
529 The <literal>least_time</literal> method passes a connection to a server | |
530 with the least average time and least number of active connections. | |
531 If <literal>least_time=connect</literal> parameter is specified, | |
532 time to | |
533 <link id="var_upstream_connect_time">connect</link> | |
534 to the upstream server is used. | |
535 If <literal>least_time=first_byte</literal> parameter is specified, | |
536 time to receive the | |
537 <link id="var_upstream_first_byte_time">first byte</link> of data is used. | |
538 If <literal>least_time=last_byte</literal> is specified, | |
539 time to receive the | |
540 <link id="var_upstream_session_time">last byte</link> of data is used. | |
541 <note> | |
542 The <literal>least_time</literal> method is available as a part of our | |
543 <commercial_version>commercial subscription</commercial_version>. | |
544 </note> | |
545 </para> | |
546 | |
528 </directive> | 547 </directive> |
529 | 548 |
530 </section> | 549 </section> |
531 | 550 |
532 | 551 |