Grzegorz Nosek
August 10, 2010 10:16AM
On Tue, Aug 10, 2010 at 10:03:41AM -0400, JCR wrote:
> Thanks for the answer!
>
> I am still unable to have processes started as needed.
>
> Let's say that one process needs 10 seconds to complete and I have one
> backend server in the rotation, processing two requests at the same time
> will take 20 seconds. Is there a way to have nginx / ngx_supervisord
> recognized that another backend server is needed and that the two are
> done in 10 seconds?

You may try my upstream_fair load balancer but AFAIK with recent
ngx_supervisord it should work with the default load balancer too.

Piotr, care to chime in and correct me?

> Is there a way to add backend server dynamically to the rotation?

No, all the backends have to be specified during startup. You could
regenerate the config file and reload Nginx, though.

Best regards,
Grzegorz Nosek

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: questions about ngx_supervisord

Grzegorz Nosek August 10, 2010 03:46AM

Re: questions about ngx_supervisord

JCR August 10, 2010 10:03AM

Re: questions about ngx_supervisord

Grzegorz Nosek August 10, 2010 10:16AM

Re: questions about ngx_supervisord

Piotr Sikora August 11, 2010 12:26AM

Re: questions about ngx_supervisord

JCR August 10, 2010 12:36PM

Re: questions about ngx_supervisord

Piotr Sikora August 11, 2010 12:26AM

Re: questions about ngx_supervisord

JCR August 14, 2010 10:40AM

making supervisord web interface viewable on nginx

Jonathan Vanasco May 31, 2013 09:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
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