-
Notifications
You must be signed in to change notification settings - Fork 5
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
Will it work with multiple instances of redis? #16
Comments
Hi Vlad, It has to be a single instance of Redis so the messages are transmitted. |
Hi Ramez, my client's cluster has been designed for high availability to allow their app to keep operating if up to two servers go down. With a single instance of Redis, that would be a single point of failure. Given that it has to be a single instance, have you considered switching to ioredis in order to natively support Redis Sentinel? |
A cluster should work - I haven’t tried but seems obvious. When you said singe instance I thought they were independent.
You would be the first I know when I try it out. I’ll check out ioredis
|
Yes, I did mean independent instances. I considered Redis Sentinel to be the fallback option if your answer to my original question was "single instance required". I see that there are forks of the original redis-oplog that have been switched to ioredis and mention the use of Sentinel. |
@vlasky |
Hi Ramez, I have no experience with Redis Sentinel yet. I'm doing my homework to ensure that everything meets my client's requirements before proceeding with deploying and testing it. I often browse GitHub network to see what other people have been doing with their forks and that is how I knew others were using it with ioredis and Sentinel. Examples: https://github.com/sharekey/redis-oplog |
Hello Ramez,
My client is running their Meteor app on multiple server communicating with a MongoDB replica set.
Will redis-oplog work if there is a separate instance of Redis on each server, or do all instances of Meteor need to communicate with the same instance of Redis?
The text was updated successfully, but these errors were encountered: