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
passed to the upstream. “max_connections N;” in an upstream directive
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;”
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.

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

Perhaps this guy should try it out:

Speaking of the fair balancer, does anyone know if the following bug has
been fixed:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs