Welcome! Log In Create A New Profile


Re: Load balancer question

November 12, 2014 03:00AM

> I would like nginx to manage the requests among the three instances above, depending on the load. Is it correctly defined?

what you have defined is a round-robin-based loadbalancing,
what you probably would like to do is a loadbalancing based on the connections processed:


"Specifies that a group should use a load balancing method where a request is passed to the server with the 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."

please read http://nginx.org/en/docs/http/ngx_http_upstream_module.html
for more available loadbalancing-methods

> How can I test that my request are properly managed by nginx?

create a dummypage on each server and / or check the logs on your appserver.


Subject Author Posted

Load balancer question

matinte November 11, 2014 11:44AM

Re: Load balancer question

mex November 12, 2014 03:00AM

Re: Load balancer question

Francis Daly November 12, 2014 05:52PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready