-
Notifications
You must be signed in to change notification settings - Fork 22
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
genjidb vs sqlite? #116
Comments
I do a simple test to compare the genjidb and sqlite, here is the result: write & read performance
genjidb is a little bit faster than sqlite. data compression▶ du -h profile-data-file --original profile data directory
1.3G profile-data-file
▶ du -h /tmp/badger -- genjidb (badger) data directory
1.3G /tmp/badger
▶ du -h foo.db --sqlite.
1.3G foo.db |
@crazycs520 Doing a benchmark is a good attempt, however it does not help answering the problem I raised:
|
The storage engine is evolved as the follows:
Use a KV that supports ZSTD to achieve max compression → Use genjidb for easier access over that KV engine
However, as we are now actually not using ZSTD for block-compressing, but compressing at a per-profile level, the genjidb + badger is not the only choice any more. For example, as the most widely deployed database engine, Sqlite may be a better choice.
The text was updated successfully, but these errors were encountered: