redis
ASIA原老弟
每天进步一点点! 感谢这个开源的世界!
展开
-
redis缓存策略解析
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory# is reached. You can select among five behaviors:## volatile-lru -> Evict using approximated LRU among the keys with an expir...原创 2018-05-25 10:20:31 · 912 阅读 · 0 评论 -
redis学习记录AOF策略
AOF:以日志的形式来记录每个写操作,将redis执行过的所有写指令记录下来(读操作不记录) 只许追加文件但不可以改写文件# no: don't fsync, just let the OS flush the data when it wants. Faster.# always: fsync after every write to the append only log...原创 2018-05-28 10:30:41 · 1040 阅读 · 0 评论