Welcome! Log In Create A New Profile

Advanced

Re: Lua/Redis Routing with Failover

agentzh
February 02, 2012 03:52AM
On Thu, Feb 2, 2012 at 12:41 PM, Rick Richardson
<rick.richardson@gmail.com> wrote:
> Right.  So I'm basically doing just that,  I've made an
>
[...]
>
> I am working on a module called redis_route which is an upstream
> patterned after rr
> This executes a subrequest to /servers which returns a Redis List of
> uris. I then parse those
> URIs and put them into an array which is then accessed when the
> upstream->peer.get callback is called requesting a new server.
> I store the rest, so if that backend uri fails, upstream->peer.get
> will be called for the next one on the list.
>
> Does this make sense?
>

Hmm, can we make the UI a bit more generic? We can surely fetch our
peer list from backends other than redis, like mysql, postgresql,
memcached, and etc etc etc ;)

Regards,
-agentzh

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

Lua/Redis Routing with Failover

rovar 1977 January 31, 2012 10:28PM

Re: Lua/Redis Routing with Failover

agentzh 568 January 31, 2012 11:26PM

Re: Lua/Redis Routing with Failover

rovar 587 February 01, 2012 11:06AM

Re: Lua/Redis Routing with Failover

rovar 538 February 01, 2012 12:04PM

Re: Lua/Redis Routing with Failover

Brian Akins 580 February 01, 2012 09:58PM

Re: Lua/Redis Routing with Failover

agentzh 509 February 01, 2012 11:22PM

Re: Lua/Redis Routing with Failover

rovar 721 February 01, 2012 11:42PM

Re: Lua/Redis Routing with Failover

agentzh 625 February 02, 2012 03:52AM

Re: Lua/Redis Routing with Failover

rovar 924 February 02, 2012 07:40AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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