BadgerDB is an embeddable, persistent and fast key-value (KV) database written in pure Go. It is the underlying database for Dgraph, a fast, distributed graph database. It's meant to be a performant alternative to non-Go-based key-value stores like RocksDB. Badger is stable and is being used to serve data sets worth hundreds of terabytes. Badger supports concurrent ACID transactions with serializable snapshot isolation (SSI) guarantees. A Jepsen-style bank test runs nightly for 8h, with --race flag and ensures the maintenance of transactional guarantees. Badger has also been tested to work with filesystem-level anomalies, to ensure persistence and consistency. Badger is being used by a number of projects including Dgraph, Jaeger Tracing, UsenetExpress, and many more. BadgerDB is a pretty special package from the point of view that the most important change we can make to it is not on its API but rather on how data is stored on disk.

Features

  • To start using Badger, install Go 1.12 or above
  • Badger v2 needs go modules
  • Write a key-value database in pure Go
  • Use latest research to build the fastest KV database for data sets spanning terabytes
  • Optimize for SSDs
  • Distributed graph database

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow BadgerDB

BadgerDB Web Site

Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BadgerDB!

Additional Project Details

Operating Systems

Windows

Programming Language

Go

Related Categories

Go Database Software, Go Graph Databases

Registered

2022-07-15