Redis - 淘汰策略有哪些?
摘要:
默认: noenviction:Redis 的默认策略,不回收数据,当达到最大内存时,新增数据返回 error volatile 是对已设置过期时间的数据集淘汰数据: volatile-lru:从已设置过期时间的数据集(server.db[i].expires)中,使用LRU算法淘汰最近最少使用的数 阅读全文
posted @ 2021-09-20 16:35 frank_cui 阅读(378) 评论(0) 推荐(0)
浙公网安备 33010602011771号