2018年7月18日
摘要: redis 缓存策略配置项:maxmemory <bytes>maxmemory-policy noeviction触发时机:每次执行命令(processCommand)的时候会检测while 循环条件是 (mem_freed < mem_tofree),每次选择一个 bestkey 进行删除。1. 阅读全文
posted @ 2018-07-18 15:55 偶尔发呆 阅读(265) 评论(0) 推荐(0)