当前位置:网站首页>redis 缓存清除策略
redis 缓存清除策略
2022-08-05 05:12:00 【价值成长】
1. volitile-lru: 使用LRU算法移除key,只对设置了过期时间的键
2. allkeys-lru: 使用LRU算法移除key
3. volitile-random: 对过期集合中移除随机的key,只对设置了过期时间的key
4. allkeys-random: 移除随机的key
5. volitile-ttl: 移除那些ttl值最小的key,即那些最近要过期的key
6. noevicate: 不进行移除,针对写操作,只返回错误信息
边栏推荐
- Day019 Method overriding and introduction of related classes
- Excel画图
- server disk array
- 数字孪生技术在电力系统中的应用现状
- 【学习笔记之菜Dog学C】动态内存管理之经典笔试题
- 2022牛客多校第四场C.Easy Counting Problem(EGF+NTT)
- 人性的弱点
- Error creating bean with name 'configDataContextRefresher' defined in class path resource
- Redis - 13、开发规范
- [Surveying] Quick Summary - Excerpt from Gaoshu Gang
猜你喜欢
随机推荐
仪表板展示 | DataEase看中国:数据呈现中国资本市场
dedecms dream weaving tag tag does not support capital letters fix
mutillidae download and installation
【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)
一篇博客通关Redis技术栈
Flutter学习-开篇
Redis哨兵模式配置文件详解
WPF中DataContext作用
Using QR codes to solve fixed asset management challenges
Flutter学习2-dart学习
for..in和for..of的区别
uboot开启调试打印信息
Flutter学习4-基本UI组件
How to deal with DNS hijacking?
8.04 Day35-----MVC三层架构
Redis - 13. Development Specifications
二叉树基本性质+oj题解析
Flutter learning 5-integration-packaging-publish
C#关于set()和get()方法的理解及使用
服务器磁盘阵列