-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plan for cluster support #574
Comments
👍 |
Anyone developing this support? |
May be we have to re-build the concept of this module. The problem with "cluster support" is that redis still doesn't have it on stable versions. It's on development. The appropiate issue will be "plan for redis sentinel", i think... |
I've made a compatible wrapper over node_redis for redis clusters: https://github.com/koyoki/redis-party |
@albarra -- this is not deprecated at all. Chill out -- it is maintained and we're working on updating the nature of the library to be more compatible with things like sentinel and cluster. As mentioned in other issues, Redis Sentinel and Redis Cluster support will require removing the reconnection logic from the core of this library. There is a refactor branch where I've started that work and have been rewriting the tests in a way that doesn't also combine the tests with the connection logic. Once that is done all connection logic (sentinel, cluster, or the existing legacy reconnection logic) will all be available as separate wrappers for this library. |
Sorry, what i meant is that in certain situations is deprecated, since it doesn't support HA. |
I wrote a redis cluster implementation that is similar to Antirez's ruby version. It simply wraps this I know that @brycebaril is working on a refactor branch that removes the connection logic but I'm not entirely sure that that is required for getting cluster support. I'm sure I just missed the discussion on that but is there a summary for why? |
@mc0 |
@brycebaril any updates regarding Redis cluster support? I read there was a refactoring going on, but didn't see any recent updates. Thanks! |
+1 for cluster support |
+1 |
Redis cluster is out now, any chance to implement support for it now? |
+1 |
3 similar comments
👍 |
+1 |
+1 |
@mranney any comments sir? |
We (sharelatex.com) would be interested in sponsoring this feature if that helps. I am not sure how much work it would be to develop, potentially a few other companies would pitch in? |
There are already two alternative modules which support Redis 3.0 cluster and are better performant than node-redis: https://github.com/thunks/thunk-redis I'm using thunk-redis and can confirm the cluster feature is working well |
Very interesting, thanks! On Wed, Apr 29, 2015 at 12:24 PM, Alisson Cavalcante Agiani <
Henry Oswald |
I'd be happy to try and manage getting cluster support into node_redis. I think I've got a pretty good base at https://github.com/gosquared/redis-clustr (stable in production with many ops). If anyone has suggestions/would like to jump in then go ahead :) |
👍 |
In order to better support this project and its new group of collaborators under a new org we are trying to clean up and close issues older than 6 months. Your issue may have been fixed since the issue was open, however, if you are still experiencing a problem please re-open this issue and we will label it accordingly. |
Reopening this as it is not resolved. @simontabor would you still be up to try getting cluster support into node_redis? |
Yeah. Will need to find some time - hopefully soon! |
I using redis 3.2.8 and setup nodes cluster
I have found the module "Redis Cluster Client" (https://www.npmjs.com/package/redis-node-cluster), because before that I have not used so I parked it. |
no news about this ? so if I want to use the cluster feature I need to migrate to ioredis ? |
my earlier comment is still 100% relevant: #574 (comment). redis-clustr is stable and actively in-use with some pretty big clusters |
Ho great, it's a wrapper to this lib "It tries to be as unobtrusive as possible - mimicing the behaviour of the node_redis client.". Thanks @simontabor for the feedback. Will give a try |
Indeed, have to move to ioredis package because of this. Didn't knew this package is not supporting clustering. It's a fail... |
last update was almost a year ago so I think it's safe to say this library is deprecated. |
@thelinuxlich nope. Not deprecated. We have updates that come from upstream ( |
Eventually i have migrated to ioredis and successfully integrated sharded cluster. Suggest using ioredis and this team to move to ioredis team, to help them if possible. |
As per https://redislabs.com/lp/node-js-redis/
|
it's 2020, almost 6 years since this issue opened. Hopefully there will be good news. |
6 years ago I switched to ioredis for the cluster support |
Any update on Cluster support on this? |
Any update for cluster support? |
Is there any plan for cluster support?
Redis 3.0.0 beta has been released for a month.
The text was updated successfully, but these errors were encountered: