7 messages in ru.sysoev.nginxRe: EY Load balancer - Does this work...
FromSent OnAttachments
Asif AliMar 17, 2009 1:13 am 
Ryan DahlMar 17, 2009 11:41 am 
Jauder HoApr 17, 2009 3:56 pm 
Joe BofhApr 28, 2009 12:40 am 
Ryan DahlApr 28, 2009 3:05 am 
Maxim DouninApr 28, 2009 5:17 am 
Ryan DahlApr 28, 2009 6:00 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: EY Load balancer - Does this work with the newest dev veActions...
From:Ryan Dahl (ry@tinyclouds.org)
Date:Apr 28, 2009 3:05:21 am
List:ru.sysoev.nginx

I don't suppose you could restructure things so that only the module is needed. The upstream-fair patch seems to get away without having to patch nginx source.

I don't think it is possible to achieve the request queuing functionality without modifying Nginx's source. The patch is a small change and does not affect how other modules work - it would be nice if it could be merged.

Igor: http://github.com/ry/nginx-ey-balancer/blob/afccd5c15e10257e675fb56715dd7d63bfcf4ffc/patches/nginx-0.6.34.patch It adds a new return value, NGX_BUSY, for the peer.init() callback in upstream modules. In the case of this, the module can itself decide to when to call ngx_http_upstream_connect() - until then the request hangs.