← All repos

badger

Fast key-value DB in Go.

databasedocument-databasegogolangkey-valuelibraryssd
Browse cluster: SQL databases and distributed systems
15,748stars
1,550commits
213contributors
4languages

Tech stack & purpose

BadgerDB is an embeddable, persistent key-value database written in pure Go, designed as a performant alternative to non-Go-based stores like RocksDB. It is developed by Dgraph Labs and serves as the underlying database for Dgraph, a distributed graph database. BadgerDB is built on the WiscKey research paper's design principles, optimizing for SSDs through separation of keys and values in its LSM tree architecture, and supports concurrent ACID transactions with serializable snapshot isolation guarantees. The project is stable and in production use across numerous applications including Jaeger Tracing, IPFS, and others handling datasets worth hundreds of terabytes.

Languages

Go
99.3%
Shell
0.6%
Makefile
0.2%
JavaScript
0.0%

Contributors (top 30 of 213)