Welcome! Log In Create A New Profile

Advanced

Re: Dynamic Upstream Provider List

Piotr Sikora
May 31, 2010 12:26PM
Hi,

> I am working on a load balancing system where the upstream providers need
> to change at runtime. The available peer group will be routed either by a
> hash, or by round robin, but the size of the peer group might change
> between any request.

Do you really need this list to be dynamic? Maybe static list of backends
that are dynamically marked as either "up" or "down" is good enough? If so,
please take a look at ngx_supervisord [1] (you will probably want to use it
with "supervisord none;" setting). You can also use it together with
health-check module to automatically mark failed backends as "down".

[1] http://labs.frickle.com/nginx_ngx_supervisord/
[2] http://github.com/cep21/healthcheck_nginx_upstreams

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >



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

Dynamic Upstream Provider List

rovar May 31, 2010 11:34AM

Re: Dynamic Upstream Provider List

Joshua Jonah May 31, 2010 12:16PM

Re: Dynamic Upstream Provider List

Piotr Sikora May 31, 2010 12:26PM

Re: Dynamic Upstream Provider List

rovar May 31, 2010 10:41PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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