Ey-balancer?


#1

Hello,

Has anyone tried ey-balancer:
http://github.com/ry/nginx-ey-balancer/tree/master. From the README:

"haproxy maxconn for nginx

Adds a request queue to Nginx that allows the limiting of concurrent
requests
passed to the upstream. “max_connections N;” in an upstream directive
means
that each upstream server will be given N request at a time, per Nginx
worker. For example, if you have two workers and “max_connections 1;”
then
there will be a total of 2 requests at a time on each upstream server."

I am guessing that the intended audience is Rails sites with multiple
mongrel servers.


#2

There were many people running nginx -> haproxy -> mongrels just for
haproxy’s request queueing functionality. It turns out that if you
have slow or chaotic response times from backends (often the case in
Rails world) queuing requests in the proxy will tighten up the
response time variance dramatically, getting the tail-end latency
under control. I’m not sure how many people are using it, but it is
being used on at least a few production sites. It’s more or less
stable.


#3

Perhaps this guy should try it out:
http://axonflux.com/why-fair-proxy-balancer-for-ng

Speaking of the fair balancer, does anyone know if the following bug has
been fixed:
http://marc.info/?t=120427864700003&r=1&w=2