Syntax: | least_time |
---|---|
Default: | — |
Context: | upstream |
Specifies that a group should use a load balancing method where a connection is passed to the server with the least average time and least number of active connections, taking into account weights of servers. If there are several such servers, they are tried in turn using a weighted round-robin balancing method.
If the connect
parameter is specified, time to connect to the upstream server is used. If the first_byte
parameter is specified, time to receive the first byte of data is used. If the last_byte
is specified, time to receive the last byte of data is used.
This directive is available as part of our commercial subscription.
Please login to continue.