aboutsummaryrefslogtreecommitdiffstats
path: root/cps-service/src
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-09-18 14:35:39 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-09-19 14:51:24 +0100
commit868e1db469bb6a5755452fe31f8e2e25e86d7d5e (patch)
tree084aaa3459ef4a6e898c902ea8a59ec11a535b8a /cps-service/src
parente715450db255af638e6de700d21df3c71a065e08 (diff)
Make nginx load balance using least-connections
By default, nginx uses round robin for load balancing. Round robin works well when all requests take same amount of time, but is not optimal for dynamic loads. With least-connected load balancing, nginx will try not to overload a busy server with excessive requests, sending requests to a less busy server instead. Issue-ID: CPS-2415 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I0e7d6b36a79aa6541f2f5f667746f2792d55e54b
Diffstat (limited to 'cps-service/src')
0 files changed, 0 insertions, 0 deletions