nrk/redis-lua

cluster support?

Opened this issue · 6 comments

Are there any plans to add support for connecting to a redis cluster? (Establish connections to all servers and select server based on a key hash)

nrk commented

Hi @sergeyzavadski,

Having support for client-side sharding has been on my wishlist for quite a long time, and I say wishlist instead of todo-list simply because I have never had the time to sit down and think of how to modify the library to implement such a feature but it is definitely something I would love to have and to tell the truth I still hope to receive some contributions in this area. Recently I have also started thinking if it would make sense to have client-side sharding now that the redis-cluster project is going to become stable in a reasonable timeframe, but the changes needed to implement them are comparable so having both would probably be worth the effort.

If there is someone willing to take up the task I'd be glad to join the effort :-)

use twemproxy

2013/9/3, Daniele Alessandri notifications@github.com:

Hi @sergeyzavadski,

Having support for client-side sharding has been on my wishlist for quite a
long time, and I say wishlist instead of todo-list simply because I have
never had the time to sit down and think of how to modify the library to
implement such a feature but it is definitely something I would love to have
and to tell the truth I still hope to receive some contributions in this
area. Recently I have also started thinking if it would make sense to have
client-side sharding now that the redis-cluster
project
is going to become stable in a
reasonable timeframe, but the changes needed to implement them are
comparable so having both would probably be worth the effort.

If there is someone willing to take up the task I'd be glad to join the
effort :-)


Reply to this email directly or view it on GitHub:
#28 (comment)

nrk commented

@jinhao sure twemproxy is a valid and tested alternative in most scenarios especially for the short term, but that doesn't change the fact that we'll need to add support for redis-cluster in the near future and many of the changes required to support redis-cluster in the library, if properly implemented, can be reused to add client-side sharding too.

@nrk in my option, if redis-cluster is ready in prodoction,it will support the function we do in client-side sharding, if you really want to do this, use conhash and hiredis, it has no difficulty。

Redis-cluster has beed supported after redis 3.0+. I use it in python.

Are there any plans to support it?

elad commented

@nrk what's the status on cluster support? does it mean that one cannot use redis-lua with AWS ElastiCache?