Welcome! Log In Create A New Profile

Advanced

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

October 01, 2015 08:35PM
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.
Subject Author Posted

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

highclass99 October 01, 2015 08:35PM

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

Robert Paprocki October 01, 2015 08:40PM

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

highclass99 October 01, 2015 09:27PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready