finley
finley
> Is this already done? @plutoyty no, there still are many problems to be solved
wired, 应该不是调用顺序的原因。 TestListenAndServe 可以正常完成 close
我这两天正在写前缀树,不过能做完最早也是下周的事情了。 如果您能够用 strings.split 之类的方法找到前缀的话可以通过 decoder 二次开发或者分析导出的 json 文件之类的方式自己实现一个报表。 [自定义用途](https://github.com/HDT3213/rdb/blob/master/README_CN.md#%E8%87%AA%E5%AE%9A%E4%B9%89%E7%94%A8%E9%80%94) [rdb转json](https://github.com/HDT3213/rdb/blob/master/README_CN.md#%E8%BD%AC%E6%8D%A2%E4%B8%BA-json-%E6%A0%BC%E5%BC%8F)
前缀分析已经发布 [v1.0.16](https://github.com/HDT3213/rdb/releases/tag/v1.0.16)
这个优化就不必了吧,影响很小。不过你可以试试在 parser 或者 reply 的时候加个对象池,说不定效果不错
不做删除功能的原因是,我们不一定能够及时拦截任务执行,。比如在拦截命令发往redis的途中,这个任务恰好被投递到 worker 。所以为了避免误发, 必须要在 worker 中检查一次订单状态。
> therre is no way to implement ziplist in go ziplist is just a bytes buffer, almost any language can implement it. Please read more and think twice before making...