-
Notifications
You must be signed in to change notification settings - Fork 77
Badger instead of RocksDB #17
Comments
BLast uses bleve to do its magic. I agree that removing cgo is nice and badgers perf and scaling is much easier to get working with raft IMHO. here is the issue relating to using badger. It looks possible now. It was not possible before. |
Hi @Scapal I agree with you to keep minimize CGO dependencies. Thanks. |
@mosuka The blocker for using Badger seems to have been lifted see: blevesearch/bleve#591 EDIT. It looks like Scorch is the only way forward to use bleve. KV ( BoltDB) is no longer supported. |
@gedw99 Blast has two storages. One is Bleve's index. The other one is KVS for storing raw data before indexing. |
Hay all, there is a new badger bleve repo here: https://github.com/alash3al/bbadger Its called "bbadger" !! It would be great if everyone interested in this can help with examples, PR's and general dog fooding. @mosuka @Scapal This removes the CGO aspects. I agree with you about the CGO as its a huge slowdown for golang to use CGO |
Fixed to support Bagder. For example, build Badger to be available for index storage as follows:
Then, you can start Blast as follows:
Please clone the master branch. |
Sorry, it still have a bug. |
Fixed some Bader plugin bugs. But this feature is considered experimental. |
Have you considered using Badger K/V store instead of RocksDB in order to keep CGO dependencies minimal ?
https://github.com/dgraph-io/badger
The text was updated successfully, but these errors were encountered: