BadgerDB is a fast, embeddable key-value database written entirely in Go. Applications use it as an in-process storage engine rather than communicating with a separate database server.
Badger is optimised for SSDs and large datasets. Its design combines an LSM tree with a separate value log to reduce write amplification while supporting transactional and versioned access to stored data.
This is free and open source software.
Key Features
- Embeddable persistent key-value database written entirely in Go.
- Requires no Cgo dependencies.
- Concurrent ACID transactions with serializable snapshot isolation.
- LSM-tree architecture with a separate value log.
- Optimised for SSD storage and datasets spanning terabytes.
- Sorted key iteration and prefix-based traversal.
- Direct access to historical versions of values.
- Configurable retention of multiple versions for each key.
- Database snapshots.
- Time-to-live support for automatically expiring entries.
- Command-line utility for offline backup and restoration.
- Native directory locking and fsync support on Linux and other POSIX systems.
Website: github.com/dgraph-io/badger
Support:
Developer: Dgraph Labs
License: Apache License 2.0
BadgerDB is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Key Value Stores | |
|---|---|
| RocksDB | Persistent key-value store for flash and RAM Storage |
| Valkey | High-performance data structure server |
| Apache Cassandra | Distributed database management system |
| ScyllaDB | Real-time big data database |
| Apache Accumulo | Based on Google's BigTable design |
| ArangoDB | Native multi-model database |
| Aerospike CE | Real-time NoSQL database and key-value store |
| Berkeley DB | Family of open source, embeddable databases |
| LevelDB | Fast and lightweight key/value database library by Google |
| Garnet | Remote cache-store |
| KeyDB | High performance fork of Redis |
| Redict | Distributed key/value store |
| Project Voldemort | Distributed data store |
| Scalaris | Distributed transactional key-value store |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.