Skip to content

Consider removing badgerdb #260

Open
@faddat

Description

@faddat

It seems unlikely that badger will continue to be maintained in the future.

I think this leaves us (tendermint, tm-db, cosmos-sdk) with few reasonable choices for databases moving forward:

  • badgerdb (but we maintain it)
  • pebble
  • bolt
  • goleveldb

These made the cut because all are high performance key value stores written in native go. If I had to choose between them, my choice would be pebbledb, but @marbar3778 notes that geth uses goleveldb, but quite differently from how we do it. Most notably, goleveldb in geth splits the store into a long-term (generally read only) section and short term (more changes happen here) section. This is an oversimplification of their approach but I think that this is notable moving forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions