qmetrics.net

Badger

Embeddable pure Go persistent key-value store

DatabasesDesktop/CLI app
Badger screenshot

BadgerDB is an embeddable, persistent key-value database written in Go. It supports concurrent ACID transactions with serializable snapshot isolation.

Overview

BadgerDB is a key-value database meant to be linked into Go applications rather than run as a separate server. It persists data on disk and is optimized for SSD-oriented access patterns, following a design that separates keys from values to reduce write amplification compared with typical LSM trees.

The database supports concurrent ACID transactions with serializable snapshot isolation, snapshots, TTL on keys, and versioned access to values through its iterator APIs. It is embeddable, offers sorted key iteration, and is implemented in pure Go without cgo. A command-line utility supports offline backup and restore operations.

Badger serves as the storage layer for projects such as Dgraph and is used in production for large datasets. It gives teams that want a Go-native embeddable store an alternative to key-value engines implemented outside Go. Platform-specific code handles directory locking and fsync on Linux, macOS, BSD, Windows, and several other targets.

Documentation covers installation via Go modules, encryption at rest, troubleshooting, and design comparisons with other embeddable stores. A maintained list of downstream adopters spans tracing, messaging, certificate management, and other domains.

Key features

  • Embeddable Go key-value store
  • ACID transactions with SSI
  • SSD-oriented LSM plus value log
  • Pure Go without cgo
  • TTL and multi-version keys
  • Snapshots and iterators
  • CLI backup and restore tool
  • Encryption at rest support

Use cases

  • Embedded app storage in Go
  • High-throughput local KV workloads
  • Foundation for graph or trace backends
  • Offline backup via Badger CLI
  • Replacing non-Go embeddable stores

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift