Answer the question
In order to leave comments, you need to log in
How do you do loadbalance in nginx depending on how busy the backends are?
I look at the loadbalance in nginx, everything is rotated there through round robin + backends that are not responding are excluded.
Is it possible to check server load by cpu for example.
Answer the question
In order to leave comments, you need to log in
It would be more effective to ask in the mailing list. But offhand, I note that they usually use the built-in perl.
In nginx, this is not very well implemented. I advise you to try the scheme
nginx->haproxy->haproxy
backends are more advanced in terms of fair balancing
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question