Welcome! Log In Create A New Profile

Advanced

Dynamic Upstream Provider List

May 31, 2010 11:34AM
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.

The easy way seems to be to bypass the upstream http functionality altogether and simply return the appropriate peer from the callback in r->upstream->peer.get

Will this work?
Does something else already do this?
If not, what is a more idiomatic way to write this module?
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: 127
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