当前位置:网站首页>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
边栏推荐
- HJ delete the character with the least number of occurrences in the string
- 【js】-【节流、防抖函数】
- Redis one master multi slave cluster setup
- flutter 实现摇一摇功能
- Kubernetes理论基础
- Implementation of commit message standardized control in large projects
- 异或的应用。(提取出数字中最右侧的1,面试中经常用的到)
- sql分析(查询截取分析做sql优化)
- HJ整数与IP地址间的转换
- Section VI UART of zynq
猜你喜欢

异或的应用。(提取出数字中最右侧的1,面试中经常用的到)

asp. Net upload image path and image name

Three step problem of leetcode

分析 NFT 项目的 5 个指标

Sword finger offer|: linked list (simple)

Porting ucosiii to stm32f429

SQL analysis (query interception analysis for SQL optimization)

HJ prime factor

Configuring multiple instances of MySQL under Linux

Redis cerebral fissure
随机推荐
"Three routines" of digital collection market
Explanation and application of instr() function in Oracle
SQL analysis (query interception analysis for SQL optimization)
Section VII starting principle and configuration of zynq
Study notes 22/1/19 and 22/1/20
Section 8: DMA of zynq
HJ进制转换
Static resource compression reduces bandwidth pressure and increases access speed
[shangpinhui] project notes
SOC serial port configuration
Configuring MySQL multi instance master-slave synchronization for Linux
本周二晚19:00战码先锋第8期直播丨如何多方位参与OpenHarmony开源贡献
【js】-【DFS、BFS应用】-学习笔记
Investment transaction and settlement of the fund
7-1 understand everything
Design of DSP image data stream
Application of XOR. (extract the rightmost 1 in the number, which is often used in interviews)
Unity UI shadow component
A single node obtains the lock lock of the order number
云原生:云计算技术再次升级 开启全面云开发时代