cult-of-coders / redis-oplog

Redis Oplog implementation to fully replace MongoDB Oplog in Meteor
MIT License
376 stars 81 forks source link

Does it work with highly-available setup? #337

Open karen2k opened 5 years ago

karen2k commented 5 years ago

In my case there's a mongodb replica set and multiple servers behind a floating IP with keepalived. Each server runs multiple meteor apps using similar collections in different databases in the mongodb replica set.

Keeping one redis per server won't work, as the oplog is not database specific. Creating redis instance per meteor app on each server is not an issue though.

But there is no master-master replication for redis, which would allow updates across application servers.

Have you considered any alternative highly-available setup to benefit from redis-oplog?

karen2k commented 5 years ago

redis-keepalived could be potentially helpful: https://github.com/boazjohn/redis-keepalived