Welcome! Log In Create A New Profile

Advanced

Re: EY Load balancer - Does this work with the newest dev ve

Maxim Dounin
April 28, 2009 08:18AM
Hello!

On Tue, Apr 28, 2009 at 12:05:44PM +0200, Ryan Dahl wrote:

> > 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.

>From architectural point of view it shouldn't be returned from
peer.init() but instead from peer.get(). It's not easy to
implement this for peer.get() though - that's probably why
peer.init() was used instead.

Basically the above patch is a "quick hack" and I don't think it
should be merged.

Maxim Dounin
Subject Author Posted

EY Load balancer - Does this work with the newest dev version?

Asif Ali March 17, 2009 04:43AM

Re: EY Load balancer - Does this work with the newest dev version?

Ryan Dahl March 17, 2009 03:00PM

Re: EY Load balancer - Does this work with the newest dev version?

Jauder Ho April 17, 2009 06:57PM

Re: EY Load balancer - Does this work with the newest dev ve

Joe Bofh April 28, 2009 03:40AM

Re: EY Load balancer - Does this work with the newest dev ve

Ryan Dahl April 28, 2009 06:05AM

Re: EY Load balancer - Does this work with the newest dev ve

Maxim Dounin April 28, 2009 08:18AM

Re: EY Load balancer - Does this work with the newest dev ve

Ryan Dahl April 28, 2009 09:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready