Files
nginx/auto
Vladimir HomutovandRoman Arutyunyan 5760d6148e Upstream: least_time balancer module
The module implements load-balancing algorithm based on least average
response header/last_byte time and least number of active connections.

The optional "inflight" mode enables accounting of incomplete
requests/sessions.  This allows to mitigate cases when an upstream
server hangs and does not close connections.

Example configuration:

upstream u {
    least_time header | last_byte [inflight];
    server a;
    server b;
}

Co-authored-by: Roman Arutyunyan <arut@nginx.com>
2026-05-04 21:19:40 +05:30
..
2012-01-18 15:07:43 +00:00
2012-01-18 15:07:43 +00:00
2012-01-18 15:07:43 +00:00
2012-01-18 15:07:43 +00:00
2021-09-21 14:46:25 +03:00
2026-05-04 21:19:40 +05:30
2012-01-18 15:07:43 +00:00
2026-05-04 21:19:40 +05:30
2022-01-25 15:41:48 +03:00
2012-01-18 15:07:43 +00:00
2021-12-25 01:07:15 +03:00