1.定时过期expilre     expire key TTL 10定时器  主动淘汰
2.惰性过期 被动淘汰
3getCommand
expireIfNeed() 设置内存上线 set memory 上线
activeExpireCycle() redis使用了 惰性过期 + 定期过期 达到了最大内存上线后根据内存淘汰规则 # volatile-lru -> remove the key with an expire set using an LRU algorithm
# allkeys-lru -> remove any key according to the LRU algorithm
# volatile-random -> remove a random key with an expire set
# allkeys-random -> remove a random key, any key
# volatile-ttl -> remove the key with the nearest expire time (minor TTL)
# noeviction -> don't expire at all, just return an error on write operations 不在接收新的指令存进内存

最新文章

  1. 电商系统中的商品模型的分析与设计—续
  2. Android Studio插件美化Android Studio,文艺清新范
  3. [译]学习IPython进行交互式计算和数据可视化(二)
  4. 【前端积累】createElement createTextNode
  5. IOS UIwebview 背景色调整
  6. mark标签:
  7. (中等) HDU 5046 Airport ,DLX+可重复覆盖+二分。
  8. 201521123058 java第六次作业
  9. MSSQL-并发控制-1-Transaction
  10. Jenkins远程部署SpringBoot应用
  11. Android Wear开发
  12. HTML学习笔记6:列表标签
  13. python网络-多线程(22)
  14. BZOJ2229[Zjoi2011]最小割——最小割树
  15. PPPOE
  16. linux安装dpkg安装缺少依赖项的解决
  17. hibernate之helloword(环境搭建)
  18. Oracle 基本操作符
  19. Android-认识Service
  20. P1350 车的放置

热门文章

  1. Floyd弗洛伊德算法
  2. frameset框架在.net网站中的小实现。
  3. videojs文档翻译Guides-Plugins
  4. ThinkPHP5 SQL注入漏洞 && 敏感信息泄露
  5. Appium使用inspactor开始session报"Could not connect to server; are you sure it's running?"
  6. 阿里云RocketMQ定时/延迟消息队列实现
  7. API接口测试
  8. Nature | 多层次蛋白质组学综合分析冠状病毒侵染宿主细胞的分子机制
  9. RHCSA_DAY11
  10. Servlet中的HttpServletResponse 类