Anyone know how the least_conn upstream option works in nginx plus?

Robert Paprocki rpaprocki at fearnothingproductions.net
Fri Oct 2 00:38:32 UTC 2015


Is there any reason to indicate that the weighting used in nginx plus is
not the same as used in the OSS version? If so, could you not just look at
the module to examine how the weighting is determined?

On Thu, Oct 1, 2015 at 5:35 PM, highclass99 <nginx-forum at nginx.us> wrote:

> Hello,
>
> Anyone know how the least_conn upstream option works in nginx plus?
>
> http://nginx.org/en/docs/http/ngx_http_upstream_module.html#least_conn
> says
> "Specifies that a group should use a load balancing method where a request
> is passed to the server with the least average response time and least
> number of active connections, taking into account weights of servers"
>
> How does nginx plus use the three variable to determine which server to
> use?
> Is the "total" weight dynamically determined as: weight * 1/response time *
> active connections or some other formula?
>
> Thanks.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,261971,261971#msg-261971
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151001/06fa7a63/attachment.html>


More information about the nginx mailing list