当前位置:网站首页>Redis master-slave mode, sentinel cluster, fragment cluster
Redis master-slave mode, sentinel cluster, fragment cluster
2022-07-29 02:35:00 【Meme_ xp】
A master-slave mode :

characteristic :
1. Master data can be read and written , Read only from database
2. The host is down , You can only read
Sentinel mode : Used to monitor the main server hang up
Since our master node is down, we can only read , Then we have the sentinel mode , The role of the sentry is , When our master node hangs up , Then the sentinel selects a slave node from the slave node as the master node
Fragmentation cluster
If there is 15000 data , The first deposit 1 To 5000, Second deposit 5001 To 10000, Third deposit 10001 To 15000
What if one of them goes down :

It is a master-slave mode for each node , When the master node goes down, the slave node makes up

Another point is because of our master-slave mode , Read data from the main library , That is, the main database needs to write data to the read database , Then there will be some pressure on the main warehouse , So how can we solve this problem ??
Master slave mode

边栏推荐
- 基于对象的实时空间音频渲染丨Dev for Dev 专栏
- 进程间通信---对管道的详细讲解(图文案例讲解)
- When I look at the source code, what am I thinking?
- Hexadecimal to string
- In depth analysis - Pretreatment
- Even PostgreSQL problem: expected authentication request from server, but received V
- 2022/07/28 学习笔记 (day18) 常用API
- What happens if you have to use ArrayList in multithreading?
- How to quickly design a set of cross end components that support rendering rich text content
- time_wait和close_wait产生原因
猜你喜欢
![[RT learning note 1] RT thread peripheral routine - control LED light flashing](/img/70/2c8cebd98948b5c92625c1a5423d97.png)
[RT learning note 1] RT thread peripheral routine - control LED light flashing

基于对象的实时空间音频渲染丨Dev for Dev 专栏

Prometheus + AlertManager 消息预警

如何利用 RPA 实现自动化获客?

Redis主从模式、哨兵集群、分片集群

如何把thinkphp5的项目迁移到阿里云函数计算来应对流量洪峰?

一文读懂Okaleido Tiger近期动态,挖掘背后价值与潜力

After 4 years of testing experience, I finally entered Alibaba. Two months later, I chose to resign naked

矿山开采虚拟现实vr安全培训提升员工警惕性和防护意识

QT qstackedwidget multi interface switching
随机推荐
7/28 Gauss elimination to solve linear equations + Gauss elimination to solve XOR linear equations + find the combination number II
ES6事件绑定(v-on用法)
响应式织梦模板酒店客房类网站
2022/07/28 learning notes (day18) common APIs
XSS靶场(二)xss.haozi
HTTP缓存
What happens if you have to use ArrayList in multithreading?
MySQL和Redis的双写一致性
聊聊接口性能优化的11个小技巧
WebView attack
How to quickly design a set of cross end components that support rendering rich text content
无线振弦采集系统工作流程
Responsive dream weaving template hotel room website
如何快速设计一套支持渲染富文本内容的跨端组件
基于对象的实时空间音频渲染丨Dev for Dev 专栏
Experiment 2: Arduino's tricolor lamp experiment
如果时间不够,无法进行充分的测试怎么办?
TCP重传机制有哪些?
redis为什么快,消息队列,单线程
The outsourcing company "mixed" for two years, and I only did five things seriously. Now I get byte offer smoothly.