Skip to content

RocksDB concepts not in Badger #330

@mperham

Description

@mperham

Hi, I build Faktory, a background job server built in Go which uses RocksDB today. It's painful to deal with CGo and Badger looks awesome, probably the most realistic Go-native replacement. However there are a few features I use that Badger does not offer today.

Column families allow RocksDB to separate different types of data into different buckets within the same DB. This makes it easy to iterate only over items within that type, similar to tables in an RDBMS. https://github.com/facebook/rocksdb/wiki/Column-Families

Merge operator - RocksDB allows merging of values so you can fire multiple writes at a key without having to read the current value first. We use it for incrementing statistics counters. https://github.com/facebook/rocksdb/wiki/Merge-Operator

Do you have any plans to add similar features to Badger?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions