擅长:python、mysql、java
<p>redis py不支持集群模式。集群有完全不同的体系结构来实现横向可伸缩性。HA(高可用性)在其设计中并不是优先考虑的。因此,您不能将一个客户机用于另一个客户机。在</p>
<p>redis py cluster似乎有持续的开发/支持,它基于redis.py文件. 您链接的客户端页面不是用于redis群集的。“redis py cluster”在redis cluster页面上提到(查找“Playing with the cluster”):<a href="https://redis.io/topics/cluster-tutorial" rel="nofollow noreferrer">https://redis.io/topics/cluster-tutorial</a></p>
<p>与集群一样,Redis有sentinel支持的设置来提供HA,redispy确实支持。在</p>