Skip to content
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

wrong method names in documentation for sortedKeyIndex #364

Open
bo-tato opened this issue Aug 30, 2023 · 3 comments
Open

wrong method names in documentation for sortedKeyIndex #364

bo-tato opened this issue Aug 30, 2023 · 3 comments

Comments

@bo-tato
Copy link

bo-tato commented Aug 30, 2023

in the documentation it says PrefixCompression.Enable, while I had to use PrefixCompression.On, and I had to use blockIOStrategy instead of ioStrategy. After that it worked great, thanks for the db

@bo-tato
Copy link
Author

bo-tato commented Aug 31, 2023

same in the documentation for valuesConfig, I had to use blockIOStrategy instead of ioStrategy

@bo-tato
Copy link
Author

bo-tato commented Aug 31, 2023

btw, for my usecase I care about storage size on disk, not really about speed, with swaydb settings of prefixcompression, removing duplicates, and compression, it's using under half the space the space of leveldb on my test, which in turn uses less space than rocksdb or anything else I tried. Maybe worth adding to README, as it seems that's unique advantage it has over other kv stores.

@simerplaha
Copy link
Owner

simerplaha commented Aug 31, 2023

Hey, thanks for reporting these. Appreciate it.

That's a good idea. Probably should add it to README.

Also please note that the last commit was 2 years ago. I will continue someday, I'm not sure when. There is a bit more that can be done to get us further compression savings.

Glad to hear that it's serving your use-case 👍🏼.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants