-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方文档对Badger理解错误 #89
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个issue不是程序bug,是文档有误导。
官方文档反复提到Badger写入慢。那是因为Badger自带了多种压缩方案,且默认启用压缩率最高、CPU占用最高的压缩方案。所以使用默认配置才慢。它的思路是:
另外,他还有数据加密,还要写cache,还有很多用内存换性能的选项可以设置,所以很难用默认配置来衡量它的性能。基本可以认为,简单配置之后,它的读写性能和goleveldb是一个水平,但是略微差一点。
The text was updated successfully, but these errors were encountered: