Support for Active/Active replication
Search before asking
- [x] I had searched in the issues and found no similar issues.
Motivation
This is a feature, only available in the enterprise version of redis. Would like to request for this to be made possible in kvrocks......
kvrocks at most can only be set as an Active-Passive deployment, it makes it difficult to implement an Active-Active setup for disaster recovery purposes. The deram is to set up a Multi Active-Active kvrocks deployment, so we can achieve an Active Active Production and Disaster Recovery setup.
Solution
Redis Enterprise keyDB and other sync tools like redis-shake
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
any idea how is it implemented
It's hard to do conflict resolution if we have multiple writable instances for same slot. So I'm not sure if we should support this.
However you can have multiple writable instances for different slots in one machine.
We currently use Redis for persistent storage. To address disaster recovery issues, we have set up a hot standby cluster within the same city. Currently, we use a synchronization tool (redis-shake) to synchronize data from the primary cluster to the standby cluster. We would like to know if kvrocks can implement the Active Replication feature of keydb (or the dual-active feature of Redis Enterprise Edition) to replicate data from the primary cluster to the standby cluster. We are unsure if this can be achieved.