当前位置:网站首页>Redis cluster deployment and application scenarios
Redis cluster deployment and application scenarios
2022-06-28 07:55:00 【star++】
summary
redis cluster People like to call it redis colony , Some people like to call it partitioned cluster . Sum up ,redis There are three patterns , Stand alone , Sentinel mode , Fragmentation cluster . On the surface, more and more machines are used , In fact, it does change with the amount of data read and write , Three deployment modes need to be upgraded continuously , Let's look at the difference , And applicable scenarios .
Schematic diagram of partitioned cluster

explain : Pictured , The meaning of partitioned cluster is clear at a glance , Data is distributed and stored on different nodes . First, the client will respond to key Conduct CRC16 Calculation , Calculate to get a slot Number , Then the data is read and written in the corresponding redis For instance . Compare with sentinel mode , Sharding cluster not only ensures high availability , At the same time, it can also store data in pieces , It really achieves the function of sharing the reading and writing pressure .
Fragmented cluster application scenarios
1. When the storage data is large , A single machine certainly won't work . It is easy to trigger the elimination strategy frequently , Frequent cache misses , Cause avalanches , breakdown , through , meanwhile
RDB fork Child processes tend to block the main thread
2. When the storage data is large , Sentinel mode doesn't work either ( You can read the pressure separately ). In addition to the problems of the single machine , It will also cause inconsistency between master and slave synchronization data , Ring buffer
边栏推荐
- LeetCode之三步问题
- ACM notes
- "Three routines" of digital collection market
- pip 更新到最新的版本
- Conversion between HJ integer and IP address
- GoLand IDE and delve debug Go programs in kubernetes cluster
- 22/02/15 study notes
- A single node obtains the lock lock of the order number
- Software design of power control board
- 8 张图 | 剖析 Eureka 的首次同步注册表
猜你喜欢

2021 programming language ranking summary

分析 NFT 项目的 5 个指标

es6箭头函数中return的用法

ZYNQ_ IIC read / write m24m01 record board status

PLC -- Notes

Recommended system series (Lecture 5): Optimization Practice of sorting model

Host is not allowed to connect to this MySQL server

"Three routines" of digital collection market

Section 8: DMA of zynq

Sword finger offer|: linked list (simple)
随机推荐
本周二晚19:00战码先锋第8期直播丨如何多方位参与OpenHarmony开源贡献
Soft exam -- software designer -- afternoon question data flow diagram DFD
Uninstall and reinstall the latest version of MySQL database. The test is valid
Airflow2.x distributed deployment DAG execution failure log cannot be obtained normally
Section VI UART of zynq
8 figures | analyze Eureka's first synchronization registry
券商注册开户靠谱吗?安全吗?
Three step problem of leetcode
Study notes 22/1/11
How redis solves cache avalanche, breakdown and penetration problems
HJ21 简单密码
Online WPS tool
SOC timer and interrupt configuration
推荐系统系列精讲(第五讲): 排序模型的调优实践
Section 5: zynq interrupt
7-1 understand everything
flutter 实现摇一摇功能
Today's notes 22/1/7
22/02/14 study notes
Configuring MySQL multi instance master-slave synchronization for Linux