当前位置:网站首页>Redis persistence problem and final solution
Redis persistence problem and final solution
2022-06-28 07:55:00 【star++】
summary
redis As a cache , In order to achieve high performance , The data is directly put into the cache , Then it is bound to face a problem of power failure and data loss . For applications with low traffic , The big deal is through the database , Restore data to cache ; For high concurrency applications , Cache downtime lost data , Can cause avalanches , breakdown , A series of problems such as penetration .
AOF Persistence scheme

How it works :
1. Every time the client receives a command , After the execution , Write log data to AOF In file
2. Write back to AOF Files have three strategies ,Always( After each command is executed , Write back to disk now ),Everysec( Logs in the cache are written back to each second
disk )边栏推荐
- SOC serial port configuration
- Soft test -- software designer -- database design of afternoon questions
- Introduction and several months' experience of extending the solution thanos of Prometheus
- 2021 programming language ranking summary
- Porting ucosiii to stm32f429
- Hash slot of rediscluster cluster cluster implementation principle
- Ambari (VI) -- ambari API use
- Redis one master multi slave cluster setup
- 扩展Prometheus的解决方案thanos的简介和几个月使用心得
- 7-2 Finnish wooden chess structure Sorting
猜你喜欢

Flex layout

Section VII starting principle and configuration of zynq

Unity UI shadow component

Unity-UI-shadow组件

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

Redis implements distributed locks

No suspense about the No. 1 Internet company overtime table

SOC clock configuration

ES6 use of return in arrow function

软件测试与质量期末复习
随机推荐
Ambari (VIII) --- ambari integrated impala document (valid for personal test)
打新债注册开户靠谱吗?安全吗?
Study notes 22/1/19 and 22/1/20
GPIO configuration of SOC
HJ explicit random number
Localization SoC development plan
HJ质数因子
SOC timer and interrupt configuration
22/02/15 study notes
Generation and verification of JWT token
Airflow2.1.1 ultra detailed installation document
Application of XOR. (extract the rightmost 1 in the number, which is often used in interviews)
"Three routines" of digital collection market
HJ character count
Soft exam -- software designer -- afternoon question data flow diagram DFD
Kubernetes theoretical basis
Analyze 5 indicators of NFT project
flex布局
HJ字符个数统计
HJ score ranking