当前位置:网站首页>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: 不进行移除,针对写操作,只返回错误信息
边栏推荐
猜你喜欢
随机推荐
dedecms报错The each() function is deprecated
In the hot summer, teach you to use Xiaomi smart home accessories + Raspberry Pi 4 to connect to Apple HomeKit
Dephi逆向工具Dede导出函数名MAP导入到IDA中
dedecms后台生成提示读取频道信息失败的解决方法
jvm 三 之堆与栈
ESP32 485 Illuminance
How to deal with DNS hijacking?
shell函数
密码学系列之:PEM和PKCS7,PKCS8,PKCS12
数字_获取指定位数的小数
【学习笔记之菜Dog学C】动态内存管理之经典笔试题
【cesium】Load and locate 3D Tileset
基于Web的商城后台管理系统的设计与实现
software management rpm
University Physics---Particle Kinematics
[Student Graduation Project] Design and Implementation of the Website Based on the Web Student Information Management System (13 pages)
Requests库部署与常用函数讲解
【cesium】3D Tileset 模型加载并与模型树关联
human weakness
人性的弱点