-
Notifications
You must be signed in to change notification settings - Fork 138
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
Switch to bbolt #186
Comments
I'd love to but i'm afraid that would break code using bolt directly or passing bolt options to storm when opening the database. WDYT ? |
Right now they are 58 commits on top of Bolt, mostly technical stuff. At some point we will most likely "really want it", so taking that pain now would probably be better. Which means that one has to abstract the "direct db access" and add a bolt and bbolt package that the user can then select. How easy that is I have not looked at, but it sounds doable. |
I totally agree but i'm mostly worried about versioning and compatibility. People should be able to select a range as wide as Should we move to a v2 now with full support of bbolt? We'd keep v1.x exclusively for backporting bug fixes and bolt support. v2 would simply contain bbolt instead of bolt. WDYT? |
Yes, please! And I agree about the "maintaining part". The most important customer in a project like this is yourself. |
IMHO, I can only guess that if Boltdb is going to stay in a maintenance mode, where only critical bugs are fixed and never get any improvement, the bolt and storm users base will move to bbolt, or wish to move if their dependencies are following as well. Storm is maintained but Boltdb is not. Which is an important decision factor to choose or not Storm.
Sure it will break compatibility, but overall it's better for the greater good of any Storm users. Users that don't want to refactor their code can just vendor a "fake" boltdb and use Go 1.9 type alias that point to bbolt. but I can only guess it's easier to perform a simple refactor instead. |
What is the consensus? moving to bbolt or staying with bolt? I agree with @bep to bite the bullet sooner than later. IMHO, it seems that bbolt has been battle tested in real environments and most of the changes are related performance and stability. |
The consensus is to move Storm to v2 with Bbolt instead of Bolt. The current v1 will keep using Bolt and will only benefit from future Storm bug fixes, no new Storm feature. I'll try to publish the v2 as soon as i can (in the next few days). I'll also take this opportunity to clean the code a little bit, if you have suggestions please shoot 👍 |
Is there any interest in supporting Badger ? Bleve is also supporting Badger whilst also supporting bolt. My main reason to switch is the much higher write performance. My benchmarks are giving me about 10 times high write perf on server and about 8 times on arm mobile. The support from the team behind Badger is also pretty good. I don't see them going away for a while.. |
Sorry for the huge delay guys ! I have published a |
@joeblew99 Concerning Badger this is very interesting indeed, but switching to it for the v2 is impossible. But this is a really good idea for the Storm v3 who will be a complete rewrite. |
boltdb/bolt@fa5367d
The text was updated successfully, but these errors were encountered: