comparison xml/en/docs/http/ngx_http_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 e2c3d17d0f58
children e28e3d0f0d20
comparison
equal deleted inserted replaced
2229:f134633cff5c 2230:283b1e67eaa6
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_upstream_module" 10 <module name="Module ngx_http_upstream_module"
11 link="/en/docs/http/ngx_http_upstream_module.html" 11 link="/en/docs/http/ngx_http_upstream_module.html"
12 lang="en" 12 lang="en"
13 rev="75"> 13 rev="76">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_upstream_module</literal> module 18 The <literal>ngx_http_upstream_module</literal> module
852 servers and then choose a server 852 servers and then choose a server
853 using the specified <literal>method</literal>. 853 using the specified <literal>method</literal>.
854 The default method is <literal>least_conn</literal> 854 The default method is <literal>least_conn</literal>
855 which passes a request to a server 855 which passes a request to a server
856 with the least number of active connections. 856 with the least number of active connections.
857 </para>
858
859 <para id="random_least_time">
860 The <literal>least_time</literal> method passes a request to a server
861 with the least average response time and least number of active connections.
862 If <literal>least_time=header</literal> is specified, the time to receive the
863 <link id="var_upstream_header_time">response header</link> is used.
864 If <literal>least_time=last_byte</literal> is specified, the time to receive the
865 <link id="var_upstream_response_time">full response</link> is used.
866 <note>
867 The <literal>least_time</literal> method is available as a part of our
868 <commercial_version>commercial subscription</commercial_version>.
869 </note>
857 </para> 870 </para>
858 871
859 </directive> 872 </directive>
860 873
861 874