当前位置:网站首页>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 )边栏推荐
- Flutter realizes the function of "shake"
- Study notes 22/1/19 and 22/1/20
- What is EC blower fan?
- Install haproxy
- Understanding of OPC protocol
- Application of XOR. (extract the rightmost 1 in the number, which is often used in interviews)
- ACM notes
- Leetcode learning records
- 22/02/14 study notes
- 扩展Prometheus的解决方案thanos的简介和几个月使用心得
猜你喜欢

A single node obtains the lock lock of the order number

Kubelet garbage collection (exiting containers and unused images) source code analysis

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

SOC serial port configuration

ES6 use of return in arrow function

Airflow2.1.1 summary of the pits stepped on in actual combat!!

How to configure DDR3 of dm8148

Soft exam -- software designer -- afternoon question data flow diagram DFD

Soft test -- software designer -- database design of afternoon questions

2021 programming language ranking summary
随机推荐
大型项目中的Commit Message规范化控制实现
HJ string sort
GoLand IDE and delve debug Go programs in kubernetes cluster
Hj21 simple password
Configuring MySQL multi instance master-slave synchronization for Linux
[ thanos源码分析系列 ]thanos query组件源码简析
HJ质数因子
MySQL installation and environment variable configuration
HJ成绩排序
How to insert a single quotation mark into a table as a data type in Oracle pl/sql
Spark 离线开发框架设计与实现
Section Xi. Axi of zynq_ Use of DMA
Kubernetes cluster command line tool kubectl
Design of DSP image data stream
Soft test -- software designer -- database design of afternoon questions
flutter 实现摇一摇功能
ZYNQ_ IIC read / write m24m01 record board status
Localization SoC development plan
Recommended system series (Lecture 5): Optimization Practice of sorting model
What is EC blower fan?