当前位置:网站首页>Redis expiration elimination mechanism
Redis expiration elimination mechanism
2022-07-03 05:09:00 【amateur12】
Delete regularly ---> Lazy deletion ---> Delete periodically
For periodic deletion, there are 8 A data culling strategy
LRU Algorithm ( Recently at least use )
volatile-lru: Select the least recently used data from the data set with expiration time set
allkeys-lru: Remove the least recently used... When memory is insufficient for new write data key
LFU Algorithm ( The frequency of use is the least )
volatile-lfu: Select the data with the least frequency of use from the data set with expiration time
allkeys-lfu: When the memory is insufficient to accommodate the newly written data, remove the least frequently used key
allkeys-random: Choose data elimination from data set
volatile-random: Select any data elimination from the data set with expiration time set
volatile-ttl: Select the data that will expire from the data set with expiration time set
no-enviction: When the memory is not enough to hold the newly written data , Error will be reported in new write operation
边栏推荐
- Distinguish between releases and snapshots in nexus private library
- Learn to use the idea breakpoint debugging tool
- 1118 birds in forest (25 points)
- SSM framework integration
- Without 50W bride price, my girlfriend was forcibly dragged away. What should I do
- JS string and array methods
- 5-36v input automatic voltage rise and fall PD fast charging scheme drawing 30W low-cost chip
- JDBC database operation
- Market status and development prospect prediction of global fermentation acid industry in 2022
- BIO、NIO、AIO区别
猜你喜欢

Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in

appium1.22.x 版本后的 appium inspector 需单独安装

JS scope

Prepare for 2022 and welcome the "golden three silver four". The "summary of Android intermediate and advanced interview questions in 2022" is fresh, so that your big factory interview can go smoothly

Detailed explanation of yolov5 training own data set

Source insight garbled code solution

【实战项目】自主web服务器

Handler understands the record

ZABBIX monitoring of lamp architecture (2): ZABBIX basic operation

Oracle SQL table data loss
随机推荐
Make your own dataset
The consumption of Internet of things users is only 76 cents, and the price has become the biggest obstacle to the promotion of 5g industrial interconnection
Silent authorization login and registration of wechat applet
Literature reading_ Research on the usefulness identification of tourism online comments based on semantic fusion of multimodal data (Chinese Literature)
Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
leetcode435. Non overlapping interval
Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)
Realize file download through the tag of < a > and customize the file name
[set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
Kept hot standby and haproxy
Three representations of signed numbers: original code, inverse code and complement code
2022-02-11 daily clock in: problem fine brush
Notes | numpy-08 Advanced index
5-36v input automatic voltage rise and fall PD fast charging scheme drawing 30W low-cost chip
How to connect the network: Chapter 1 CSDN creation punch in
Esp32-c3 learning and testing WiFi (II. Wi Fi distribution - smart_config mode and BlueIf mode)
Gbase8s unique index and non unique index
Notes | numpy-11 Array operation
Force GCC to compile 32-bit programs on 64 bit platform
Handler understands the record