大家好,如标题所言,开源 KV 引擎 NutsDB v0.11.0 发布~
本文主要摘自公众号「太白技术」: https://mp.weixin.qq.com/s/QFRDT9ycrQ-NRPnulErQ4w
NutsDB 的项目地址
https://github.com/nutsdb/nutsdb , 欢迎 star 关注、贡献。
本次 v0.11.0 发布的主要改动
非常感谢参与贡献的小伙伴,我把相关 PR (#PR 编号)贡献的小伙伴的 github 名放在后面了(类似 @xxx )。
本次改动主要分以下几类(详见: https://github.com/nutsdb/nutsdb/issues/219 ):
1 、bug 的修复
-
In BPTSparse when combination of bucket and key is repeated (#207) @ShiMaRing
-
MInInt function compatible with 32-bit operating systems (#208) @xujiajun
-
Index EOF issue#213 (#214) @xujiajun
2 、新功能
-
支持了正向和反向的迭代 (EntryIdxMode: HintKeyAndRAMIdxMode and HintKeyValAndRAMIdxMode) (#202) @zeina1i
-
支持 bucket 迭代的正则匹配(#198) @Nailcui
-
内存模式支持获取 bucket 中的所有 key (#206) @Nailcui
-
内存模式支持 PrefixScan 前缀扫描 (#211) @Nailcui
3 、性能优化
本次性能优化主要对 db 启动做了提升,小 value 的情况下(小于 4k )性能可以提高一倍以上。
-
Optimize concurrent read performance (#205) @elliotchenzichang
-
Use biobuf optimaze startspeed (#212) @elliotchenzichang
@elliotchenzichang 的公众号「陪计算机走过漫长岁月」,里面有优化的说明,可以看下。
4 、重构
-
make default options to be created in a factory method (#196) @elliotchenzichang
-
use size constant value (#204) @elliotchenzichang
5 、杂项
- 添加 iterator 的 example (#209) @xujiajun 移除了 option StartFileLoadingMode (#218) @xujiajun
如何参与贡献
https://github.com/nutsdb/nutsdb/issues/216
加群交流
有兴趣的或者想贡献的 v 友可以加下群。
过期可以访问这个链接(有二维码): https://github.com/nutsdb/nutsdb/issues/116
