当前位置:网站首页>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
边栏推荐
- Audio Focus Series: write a demo to understand audio focus and audiomananger
- Thesis reading_ ICD code_ MSMN
- leetcode860. Lemonade change
- The process of browser accessing the website
- [research materials] 2021 annual report on mergers and acquisitions in the property management industry - Download attached
- The current market situation and development prospect of the global gluten tolerance test kit industry in 2022
- Market status and development prospect prediction of the global autonomous hybrid underwater glider industry in 2022
- Thesis reading_ Chinese medical model_ eHealth
- 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
- 1095 cars on campus (30 points)
猜你喜欢

cookie session jwt

Keepalived热备与HAProxy

RT thread flow notes I startup, schedule, thread

Thesis reading_ Chinese medical model_ eHealth

Thesis reading_ Chinese NLP_ ELECTRA

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

Yolov5 model construction source code details | CSDN creation punch in

How to connect the network: Chapter 1 CSDN creation punch in
![[clock 223] [binary tree] [leetcode high frequency]: 102 Sequence traversal of binary tree](/img/0f/bc8c44aee7a2c9dccac050b1060017.jpg)
[clock 223] [binary tree] [leetcode high frequency]: 102 Sequence traversal of binary tree

Learn to use the idea breakpoint debugging tool
随机推荐
ZABBIX monitoring of lamp architecture (2): ZABBIX basic operation
Esp32-c3 learning and testing WiFi (II. Wi Fi distribution - smart_config mode and BlueIf mode)
Market status and development prospect prediction of the global fire alarm sensor industry in 2022
Literature reading_ Research on the usefulness identification of tourism online comments based on semantic fusion of multimodal data (Chinese Literature)
leetcode406. Rebuild the queue based on height
Unity tool Luban learning notes 1
Caijing 365 stock internal reference: what's the mystery behind the good father-in-law paying back 50 million?
【批处理DOS-CMD命令-汇总和小结】-CMD窗口的设置与操作命令-关闭cmd窗口、退出cmd环境(exit、exit /b、goto :eof)
Oracle SQL table data loss
[set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
Notes | numpy-11 Array operation
Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
Retirement plan fails, 64 year old programmer starts work again
The 19th Zhejiang I. barbecue
(subplots用法)matplotlib如何绘制多个子图(轴域)
Problems encountered in fuzzy query of SQL statements
1114 family property (25 points)
Appium 1.22. L'Inspecteur appium après la version X doit être installé séparément
[set theory] relational power operation (relational power operation | examples of relational power operation | properties of relational power operation)
JDBC database operation