当前位置:网站首页>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
边栏推荐
- [set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
- JQ style, element operation, effect, filtering method and transformation, event object
- Market status and development prospect prediction of the global fire alarm sensor industry in 2022
- sql语句模糊查询遇到的问题
- Problems encountered in fuzzy query of SQL statements
- Huawei personally ended up developing 5g RF chips, breaking the monopoly of Japan and the United States
- 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
- Shuttle + alluxio accelerated memory shuffle take-off
- Rust基础入门之(基本类型)
- 1114 family property (25 points)
猜你喜欢
![[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

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

leetcode452. Detonate the balloon with the minimum number of arrows

Thesis reading_ Tsinghua Ernie

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

Source insight garbled code solution

Coordinatorlayout appbarrayout recyclerview item exposure buried point misalignment analysis

Botu uses peek and poke for IO mapping

On typescript and grammar

微服务常见面试题
随机推荐
Notes | numpy-11 Array operation
[set theory] relational power operation (relational power operation | examples of relational power operation | properties of relational power operation)
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
Market status and development prospect prediction of the global autonomous hybrid underwater glider industry in 2022
Basic knowledge of reflection (detailed explanation)
Appium 1.22. L'Inspecteur appium après la version X doit être installé séparément
Self introduction and objectives
Dynamic programming - related concepts, (tower problem)
Yolov5 input (II) | CSDN creative punch in
1095 cars on campus (30 points)
Gbase8s composite index (I)
Learn to use the idea breakpoint debugging tool
Gbase8s unique index and non unique index
BIO、NIO、AIO区别
[research materials] the fourth quarter report of the survey of Chinese small and micro entrepreneurs in 2021 - Download attached
Shuttle + alluxio accelerated memory shuffle take-off
Class loading mechanism (detailed explanation of the whole process)
Shallow and first code
【批处理DOS-CMD命令-汇总和小结】-CMD窗口的设置与操作命令-关闭cmd窗口、退出cmd环境(exit、exit /b、goto :eof)
Market status and development prospect prediction of global fermentation acid industry in 2022