Syntax: | least_time |
---|---|
Default: | — |
Context: | upstream |
This directive appeared in version 1.7.10.
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. If there are several such servers, they are tried in turn using a weighted round-robin balancing method.
If the header
parameter is specified, time to receive the response header is used. If the last_byte
parameter is specified, time to receive the full response is used.
This directive is available as part of our commercial subscription.
Please login to continue.