forked from 0voice/interview_internal_reference
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de3574b
commit 11f6880
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#### **题目**:是否使用过Redis集群,集群的原理是什么? | ||
|
||
#### **参考答案**: | ||
|
||
Redis Sentinal着眼于高可用,在master宕机时会自动将slave提升为master,继续提供服务。 | ||
|
||
Redis Cluster着眼于扩展性,在单个redis内存不足时,使用Cluster进行分片存储。 |