简体   繁体   English

跨数据中心Redis群集

[英]Cross Data Center Redis Cluster

We are trying to setup a redis cluster in a multi-datacenter environment, with one cluster setup in one datacenter and the other cluster in the other datacenter, in this case, is there a way to setup cross datacenter replication of cluster using redis cluster ? 我们正在尝试在多数据中心环境中设置redis群集,在一个数据中心中设置一个群集,在另一个数据中心中设置另一个群集,在这种情况下,有没有办法使用redis群集设置群集的跨数据中心复制? Has anyone setup redis cluster in this way or are there better ways to do this ? 有没有人以这种方式设置redis集群,还是有更好的方法来做到这一点?

As far as i have seen, only Dynomite seems to solve this problem. 据我所知,只有Dynomite似乎可以解决这个问题。

Else we need to implement our own by having a setup like this: 另外,我们需要通过这样的设置来实现我们自己的:

DataCenter1: DataCenter1:

[multiple redis clients]===>[localProxy-DC1]====> TWEMPROXY-DC1 ===> [Multiple Redis Single Instances with Sentinel]    

DataCenter-2: 数据中心-2:

[localProxy-DC1] ====replicates commands async===> TWEMPROXY-DC2 ====> [Multiple Redis Single Instances with Sentinel]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM