Re: Load balancer question

2014-11-12 Thread Francis Daly
On Tue, Nov 11, 2014 at 04:42:56PM +, Tinte garcia, Miguel Angel wrote: Hi there, > http { > >upstream load_balancer { >server localhost:8080/Instance1; >server localhost:8080/Instance2; >server localhost:8080/Instance3; >}

Re: Load balancer question

2014-11-12 Thread mex
Hi, > 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: http://nginx.or

Load balancer question

2014-11-11 Thread Tinte garcia, Miguel Angel
Hi everyone, I am starting to work with nginx to use it as a load balancer for a web service. Basically, what I am try to configure is something like: $ cat nginx.conf … http { upstream load_balancer { server localhost:8080/Instance1; server localhost:80