BuntDB is an embeddable, in-memory key/value database written in Go, with optional persistence to disk. It is built for scenarios where you want a lightweight, fast store (reads and writes in memory) but also durability (via append-only file format) and transactional semantics (ACID with single-writer, multiple-reader locking). Among its distinguishing features are support for custom indexing (even within JSON values), spatial (geospatial) indexes with support up to 20 dimensions, flexible iteration over keys (ascending, descending, ranges), TTL/expiry eviction, and embeddability. Because it keeps its data in memory (with persistent backing), it's well suited for caching, session stores, small-scale databases inside Go applications, or applications that prefer simplicity and speed over massive scale. The API is simple, and the library is easy to embed into Go apps.

Features

  • In-memory key/value store with optional persistence
  • Embeddable with a minimal API
  • Custom indexes (including indexing fields inside JSON documents)
  • Geospatial indexing (multi-dimensional)
  • ACID transactions (many readers, one writer) with rollback support
  • TTL/expiry of items and flexible iteration (range, ascend, descend)

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow BuntDB

BuntDB Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BuntDB!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Go

Related Categories

Go Database Software

Registered

2025-11-18