Re:Badger: A fast key-value store written purely in Golang (...
by majidazimi on Saturday November 10, 2018 @09:57AM
(#18421527)
Then any other database written in pure Go would be sufficient to keep the index.
[ Parent
| on HN ]
Re:Badger: A fast key-value store written purely in Golang (...
by tyingq on Saturday November 10, 2018 @10:00AM
(#18421540)
Sure. Searching a bit, they did benchmark against BoltDB, but didn't try what you're suggesting. The benchmark I found is also prior to them adding transactions to Badger.
Edit: Actually, the benchmarks turn off sync writes, which makes them silly to me. If you're okay with losing data, you probably wouldn't have chosen a disk based kv store. https://github.com/dgraph-io/badger-bench/blob/master/rw-ben...
The default install has sync writes turned on, so why benchmark it differently?
Re:Badger: A fast key-value store written purely in Golang (...
by mrjn on Saturday November 10, 2018 @01:33PM
(#18422704)
As mentioned in my top comment, we have run benchmarks again. SyncWrites on or off, Badger outperforms BoltDB. There's a nice ASCIIrema link that you can see, which is a recording of me running Ethereum 2.0 store benchmarks.