Skip to content
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

Redis cluster support #5

Closed
havefun169 opened this issue Feb 16, 2018 · 6 comments
Closed

Redis cluster support #5

havefun169 opened this issue Feb 16, 2018 · 6 comments

Comments

@havefun169
Copy link

Hi.

Does your app have or will have support for a clustered redis database?

Keep up the good work.

@weyoss
Copy link
Owner

weyoss commented Feb 19, 2018

Good question. Right now this application is using the default Redis driver (https://github.com/NodeRedis/node_redis) which by far does not support clustering. A switch to https://github.com/luin/ioredis driver is planned. Meanwhile, until the work is done, I am going to keep this issue open.

@sasadjolic
Copy link

Any progress on this issue? ETA?

@brecke
Copy link

brecke commented Aug 27, 2019

It’s not hard to do (though it might take some time), I followed this guide (https://github.com/luin/ioredis/wiki/Migrating-from-node_redis) and it worked flawlessly.

@brecke
Copy link

brecke commented Aug 27, 2019

Actually, just went ahead and did it myself, PR here. @weyoss will you accept it or is this repo abandoned?

@weyoss
Copy link
Owner

weyoss commented Nov 11, 2019

@havefun169, @sasadjolic, @brecke Please upgrade to the latest RedisSMQ version. Both redis and ioredis are now supported.

@weyoss weyoss closed this as completed Nov 11, 2019
@Cocophotos
Copy link

Hi,

I'm reopening this issue.

I'm trying to connect to a Redis cluster. Using ioredis, you need to use new Redis.Cluster(listofNodes) (see here) instead of the Redis class.

I've looked at redis-smq implementation and I'm not sure if it's possible in the current implementation. Can you help me understand figuring out how to do that, plz?

Thx,

Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants