当前位置:网站首页>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
边栏推荐
- 22/02/15 study notes
- [shangpinhui] project notes
- Three step problem of leetcode
- Unity UI shadow component
- Safety training is the greatest benefit for employees! 2022 induction safety training for new employees
- Source code analysis of kubernetes' process of deleting pod
- HJ删除字符串中出现次数最少的字符
- 卸载重装最新版mysql数据库亲测有效
- 8 figures | analyze Eureka's first synchronization registry
- asp. Net to search products and realize paging function
猜你喜欢

kubernetes集群命令行工具kubectl

SQL Master slave Replication Build

asp. Net registration page

Redis persistence problem and final solution

本周二晚19:00战码先锋第8期直播丨如何多方位参与OpenHarmony开源贡献
![[shangpinhui] project notes](/img/aa/043dd16c20348f1f80ca5e9e4ad330.png)
[shangpinhui] project notes

Kubernetes deploys a secret pit where thanos ruler sends repeated alarms

Disposition Flex

GoLand IDE and delve debug Go programs in kubernetes cluster

Kubernetes theoretical basis
随机推荐
Today's notes 22/1/7
Cloud native: cloud computing technology is upgraded again to open an era of comprehensive cloud development
How to configure DDR3 of dm8148
HJ整数与IP地址间的转换
Sword finger offer|: linked list (simple)
Leetcode learning records
8 figures | analyze Eureka's first synchronization registry
Ambari (VII) --- ambari integrated hue4.2 document (valid for personal test)
Unity UI shadow component
Static resource compression reduces bandwidth pressure and increases access speed
Upgrade HDP spark to spark 2.4.8 without upgrading ambari
Ice, protobuf, thrift -- Notes
Es data export CSV file
Is it reliable for securities companies to register and open accounts? Is it safe?
SQL Master slave Replication Build
Install haproxy
Understanding of OPC protocol
Airflow2.1.1 summary of the pits stepped on in actual combat!!
【尚品汇】项目笔记
Section Xi. Axi of zynq_ Use of DMA