摘要: https://blog.csdn.net/u011344514/article/details/53082757 阅读全文
posted @ 2018-08-31 08:06 dragonliu 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 当 Redis 作为缓存使用时,当你添加新的数据时,有时候很方便使 Redis 自动回收老的数据。LRU 实际上是被唯一支持的数据移除方法。Redis 的 maxmemory 指令,用于限制内存使用到一个固定的容量,也包含深入探讨 Redis 使用的 LRU 算法,一个近似准确的 LRU。 maxm 阅读全文
posted @ 2018-08-31 07:24 dragonliu 阅读(765) 评论(0) 推荐(0) 编辑