changeset 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 79ebb6a3812b
children 68eccba601a5
files xml/en/docs/http/ngx_http_upstream_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml
diffstat 2 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml	Mon Nov 29 12:50:59 2021 +0000
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml	Tue Nov 30 11:49:59 2021 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="87">
+        rev="88">
 
 <section id="summary">
 
@@ -1027,6 +1027,13 @@
 Further requests with this cookie will be passed to the designated server.
 If the designated server cannot process a request, the new server is
 selected as if the client has not been bound yet.
+
+<note>
+As a load balancing method always tries to evenly distribute the load
+considering already bound requests,
+the server with a higher number of active bound requests
+has less possibility of getting new unbound requests.
+</note>
 </para>
 
 <para>
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml	Mon Nov 29 12:50:59 2021 +0000
+++ b/xml/ru/docs/http/ngx_http_upstream_module.xml	Tue Nov 30 11:49:59 2021 +0000
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_upstream_module"
         link="/ru/docs/http/ngx_http_upstream_module.html"
         lang="ru"
-        rev="87">
+        rev="88">
 
 <section id="summary">
 
@@ -1037,6 +1037,13 @@
 Дальнейшие запросы от этого клиента передаются на тот же сервер.
 Если назначенный сервер не может обработать запрос, выбирается новый
 сервер как если бы клиент не имел привязки к серверу.
+
+<note>
+Так как любой метод балансировки пытается равномерно распределить нагрузку,
+учитывая уже привязанные запросы,
+сервер с наибольшим количеством привязанных запросов
+имеет меньшую вероятность получить новые, не привязанные запросы.
+</note>
 </para>
 
 <para>