Re: load balancing algorithms

2017-09-27 Thread Adam Schwartz
Hi, > Certainly things will be different if > requests are not equal, though this is what least_conn is expected > to address (and again, it does so better than just testing two > choices). Awesome, I hope to address this issue in my research. My suspicion is that round-robin and random will c

Re: load balancing algorithms

2017-09-26 Thread Maxim Dounin
Hello! On Tue, Sep 26, 2017 at 09:43:37AM -0400, Adam Schwartz wrote: > > On the other hand, there is API in nginx which allows to implement > > any load balancing algorithm needed. > > Cool! I was looking for something like that. > > > As for the algorithms you've mentioned, "power of two cho

Re: load balancing algorithms

2017-09-26 Thread Adam Schwartz
> On the other hand, there is API in nginx which allows to implement > any load balancing algorithm needed. Cool! I was looking for something like that. > As for the algorithms you've mentioned, "power of two choices" seems > to be better than random, though it does not look like it is > benef

Re: load balancing algorithms

2017-09-25 Thread Maxim Dounin
Hello! On Mon, Sep 25, 2017 at 03:11:36PM -0400, Adam Schwartz wrote: > I’m Adam and I’ve been researching load balancing for my > undergraduate senior project. I’m particularly interested in the > behavior of the “power of two choices” and join-idle-queue > algorithms on Nginx. > > I’ve foun

load balancing algorithms

2017-09-25 Thread Adam Schwartz
Hello, I’m Adam and I’ve been researching load balancing for my undergraduate senior project. I’m particularly interested in the behavior of the “power of two choices” and join-idle-queue algorithms on Nginx. I’ve found that the `ngx_http_upstream_module` specifies a `least_conn` and `least_ti