# Ey-balancer?

**URL:** <https://www.ruby-forum.com/t/ey-balancer/161154>\
**Category:** NGINX\
**Created:** [February 23, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/ey-balancer/161154 "2009-02-23T22:14:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![archfiend997](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Post date:** [February 23, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/ey-balancer/161154/1 "2009-02-23T22:14:50Z")

</div>

Hello,

Has anyone tried ey-balancer:  
[http://github.com/ry/nginx-ey-balancer/tree/master](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.

---

<div class="post-metadata">

**Author:** ![archfiend997](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Post date:** [February 24, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/ey-balancer/161154/2 "2009-02-24T12:58:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![archfiend997](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Post date:** [March 5, 2009, 2:15am UTC](https://www.ruby-forum.com/t/ey-balancer/161154/3 "2009-03-05T02:15:12Z")

</div>

Perhaps this guy should try it out:  
[Why fair-proxy balancer for nginx is not a viable solution for mongrel long query queues. It's actually a disaster. - Axon Flux // A Ruby on Rails Blog](http://axonflux.com/why-fair-proxy-balancer-for-ng)

Speaking of the fair balancer, does anyone know if the following bug has  
been fixed:  
['Nginx + fair load balancer patch looping' thread - MARC](http://marc.info/?t=120427864700003&r=1&w=2)
