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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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