当前位置:网站首页>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: 不进行移除,针对写操作,只返回错误信息
边栏推荐
猜你喜欢

ansible各个模块详解

『递归』递归概念与典型实例

Day019 方法重写与相关类的介绍

Structured light 3D reconstruction (1) Striped structured light 3D reconstruction

【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)

多线程查询结果,添加List集合

Flutter学习5-集成-打包-发布

u-boot debugging and positioning means

Difference between for..in and for..of

Basic properties of binary tree + oj problem analysis
随机推荐
逆向理论知识4
Day14 jenkins deployment
MySQL Foundation (1) - Basic Cognition and Operation
Requests库部署与常用函数讲解
Shell(4)条件控制语句
shell函数
human weakness
Judgment statement _switch and case
Flutter学习4-基本UI组件
flex布局青蛙游戏通关攻略
u-boot in u-boot, dm-pre-reloc
1.3 mysql batch insert data
Returned object not currently part of this pool
Flutter real machine running and simulator running
[cesium] element highlighting
Flutter learning three-Flutter basic structure and principle
1.3 mysql批量插入数据
【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)
entry point injection
基于Web的商城后台管理系统的设计与实现