comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 2809:e642fe346261

Added note about requests distribution to sticky cookie.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 30 Nov 2021 11:49:59 +0000
parents 4f44386a16b1
children 4add6ae1296f
comparison
equal deleted inserted replaced
2808:79ebb6a3812b 2809:e642fe346261
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="87"> 13 rev="88">
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
1025 A request that comes from a client not yet bound to a particular server 1025 A request that comes from a client not yet bound to a particular server
1026 is passed to the server selected by the configured balancing method. 1026 is passed to the server selected by the configured balancing method.
1027 Further requests with this cookie will be passed to the designated server. 1027 Further requests with this cookie will be passed to the designated server.
1028 If the designated server cannot process a request, the new server is 1028 If the designated server cannot process a request, the new server is
1029 selected as if the client has not been bound yet. 1029 selected as if the client has not been bound yet.
1030
1031 <note>
1032 As a load balancing method always tries to evenly distribute the load
1033 considering already bound requests,
1034 the server with a higher number of active bound requests
1035 has less possibility of getting new unbound requests.
1036 </note>
1030 </para> 1037 </para>
1031 1038
1032 <para> 1039 <para>
1033 The first parameter sets the name of the cookie to be set or inspected. 1040 The first parameter sets the name of the cookie to be set or inspected.
1034 The cookie value is 1041 The cookie value is