Skip to content

Commit

Permalink
3.1.8 是否使用过Redis集群,集群的原理是什么?
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyong0804 committed Jun 12, 2019
1 parent de3574b commit 11f6880
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#### **题目**:是否使用过Redis集群,集群的原理是什么?

#### **参考答案**

Redis Sentinal着眼于高可用,在master宕机时会自动将slave提升为master,继续提供服务。

Redis Cluster着眼于扩展性,在单个redis内存不足时,使用Cluster进行分片存储。

0 comments on commit 11f6880

Please sign in to comment.