liqiangz

Results 4 comments of liqiangz

Not supported yet, refer to issue #76.

We can use W-TinyLFU algorithm to enhance the LRU cache like caffeine. I will try it. [Caffeine的原理](https://www.lagou.com/lgeduarticle/119688.html) [TinyLFU: A Highly Efficient Cache Admission Policy ](https://arxiv.org/pdf/1512.00727.pdf)

**自适应模块抽象方案** 1.新建 adaptive 模块,可以做一些 ratio 相关的 adjustment. ```golang type AdaptiveConfig struct { //用户自定义名称 AdaptiveConfigName string //自适应类型,cpu、mem... AdaptiveType AdaptiveType //相应自适应类型所需要的参数 LowRatio float64 HighRatio float64 LowWaterMark float64 HighWaterMark float64 } // 根据用户配置生成的...