I have deployed a highly available Redis service on Kubernetes (the redis version used is 4.0.9) with aof persistence. Three sentinel nodes monitoring one master node and two slave nodes. I now have the following use case: Deploy two instances of the kind described above on separate Kubernetes clusters and keep them in sync. The setup should provide active - active replication.
The possible solutions I have come up with until now are:
Any ideas / suggestions?
Thanks in advance, George
As far as i have seen, only Dynomite seems to solve this problem. https://github.com/Netflix/dynomite/wiki/Topology
Else one suggestion is to implement our own by having a setup something like this:
DataCenter1:
[multiple redis clients]===>[localProxy-DC1]====> TWEMPROXY-DC1 ===> [Multiple Redis Single Instances with Sentinel]
DataCenter-2:
[localProxy-DC1] ====replicates commands async===> TWEMPROXY-DC2 ====> [Multiple Redis Single Instances with Sentinel]