# HG changeset patch # User Yaroslav Zhuravlev # Date 1638272999 0 # Node ID e642fe346261f72470935614be8f51a287d0a034 # Parent 79ebb6a3812b2b0480e8a0ec5095d2a624b9ef83 Added note about requests distribution to sticky cookie. diff -r 79ebb6a3812b -r e642fe346261 xml/en/docs/http/ngx_http_upstream_module.xml --- 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 @@ + rev="88">
@@ -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. + + +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. + diff -r 79ebb6a3812b -r e642fe346261 xml/ru/docs/http/ngx_http_upstream_module.xml --- 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 @@ + rev="88">
@@ -1037,6 +1037,13 @@ Дальнейшие запросы от этого клиента передаются на тот же сервер. Если назначенный сервер не может обработать запрос, выбирается новый сервер как если бы клиент не имел привязки к серверу. + + +Так как любой метод балансировки пытается равномерно распределить нагрузку, +учитывая уже привязанные запросы, +сервер с наибольшим количеством привязанных запросов +имеет меньшую вероятность получить новые, не привязанные запросы. +