[英]How to Setup 2 Redis Master Nodes Without Slave
I am using 2 Docker servers and I want to create Redis container to each of the servers.我正在使用 2 个 Docker 服务器,我想为每个服务器创建 Redis 容器。 Both containers will accept data and replicate the update between the 2 servers.
两个容器都将接受数据并在两台服务器之间复制更新。 As I research, updating the slave is not possible.
正如我研究的那样,更新从属是不可能的。 I see guides on how to configure redis master-slave but no guide for master-master.
我看到了关于如何配置 redis 主从的指南,但没有关于主主的指南。 Thank you in advance.
先感谢您。
Master-Master replication is not supported by default in Redis. Redis 默认不支持 Master-Master 复制。
But you could use Dynomite, given it's replication feature on key-value stores like Redis但是您可以使用 Dynomite,因为它在 Redis 等键值存储上具有复制功能
Be sure to check if all the kind of operations you want to use on your Redis are supported by Dynomite, since it might not support them all.请务必检查您想在 Redis 上使用的所有类型的操作是否受 Dynomite 支持,因为它可能不支持所有操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.