Ted Mostly
Ted Mostly

群里反馈衰减10左右。需要调查原因
参考 https://github.com/KvrocksLabs/kvrocks/pull/120 https://github.com/KvrocksLabs/kvrocks/pull/368/
交流群里收集到的场景 用户使用版本 3.3.6 使用zset做时间过滤,score存时间,然后删除 用户的使用场景是删除不需要立即生效,删除了就行 解决方案 1 ZREMRANGEBYSCORE使用Rocksdb新API DeleteRange实现,需要升级api 2 利用compact,开洞一个CompactByScore接口,定时调用删除key,但是binlog的流水没有删除 方案1 最简单,但是需要升级rocksdb,方案2 需要业务配合改代码,且有遗留脏数据 综上选1
like folly's executor, CPUExecutor, IOExecutor it's very useful in some network/data process case (read/write socket, read/write files)
log message is to much when encountered an connect error and I add this option to control print frequency