缓存改 or 淘汰 发表于 2018-08-19 | 分类于 cache | 阅读次数 diff 淘汰某个key,操作简单,直接将key置为无效,但下一次该key的访问会cache miss 修改某个key的内容,逻辑相对复杂,但下一次该key的访问仍会cache hit 阅读全文 »
shell-if 发表于 2018-08-17 | 分类于 Linux | 阅读次数 1234567if list then do something here elif list then do another thing here else do something else here fi 阅读全文 »