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

You Might Also Like
Dominate AI Search Results Icon
Dominate AI Search Results

Generative Al is shaping brand discovery. AthenaHQ ensures your brand leads the conversation.

AthenaHQ is a cutting-edge platform for Generative Engine Optimization (GEO), designed to help brands optimize their visibility and performance across AI-driven search platforms like ChatGPT, Google AI, and more.
Learn More
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