Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

bbolt

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • iPhone and iPad
  • Android
  • Self-hosted
7.4 Club score Visit github.com

What bbolt is

bbolt is a maintained fork of Bolt that gives Go applications an embedded key/value database without requiring a full database server. It stores data in one file as a consistent snapshot, organizing pairs into buckets that can be nested; bucket keys use byte-sorted order. Transactions are serializable and ACID, with one read-write transaction at a time and multiple concurrent read-only transactions. A read-only transaction can create a consistent hot backup without blocking other reads or writes. The database exposes operation statistics for logging or sending to a service such as statsd. The project describes bbolt as a fit for read-intensive workloads and range scans, while warning that random writes can be slow. Its file’s exclusive write lock prevents multiple processes from sharing it for writing, though read-only mode allows multiple processes to read. The project documents gomobile bindings for iOS and Android, alongside Windows, macOS, and Linux support. It is free and open source under the MIT license; no paid support plan is listed.

Who it suits

bbolt suits Go developers who need an embedded key/value store, particularly for read-intensive workloads or range scans. It may also suit projects that need iOS or Android database logic through gomobile bindings.

Good to know, and what to watch

  • Stores a consistent snapshot in a single file.
  • Supports nested buckets and byte-sorted keys.
  • Read-only transactions can create hot backups.
  • Exposes operation statistics for logging or services.
  • Free and open source under the MIT license.
  • Random writes can be slow.
  • Only one read-write transaction can run at a time.
  • Multiple processes cannot share a file for writing.
  • Deleting data does not reclaim file space.

bbolt

Free

Open source

The verdict

bbolt offers an embedded, file-based key/value store with ACID transactions, backups, and mobile bindings. Its write-lock and random-write limitations are worth considering before choosing it for a workload.

What the maker publishes

Access limitation
A database file uses an exclusive write lock and cannot be shared by multiple processes; read-only mode permits multiple processes to read it. source
Backup
A read-only transaction can write a consistent hot backup without blocking other database reads and writes. source
Data-file limitation
Deleting large amounts of data does not reclaim file space; freed pages remain in the file for later reuse. source
Data organization
It organizes key/value pairs into buckets, supports nested buckets, and stores bucket keys in byte-sorted order. source
Install
The README instructs Go developers to install the library with go get go.etcd.io/bbolt@latest and the CLI with go install go.etcd.io/bbolt/cmd/bbolt@latest. source
Integrations
The README lists projects using Bolt, including Consul, Containerd, InfluxDB, Prometheus Annotation Server, and NATS Streaming. source
License and support
The repository identifies an MIT license and directs users to its issues and discussions for project interaction; it does not list a paid support plan. source
Mobile support
The project documents using gomobile bindings to run database logic on iOS and Android. source
Monitoring
The database exposes operation statistics that can be logged or sent to a service such as statsd. source
Purpose
bbolt is a maintained fork of Bolt, a pure Go embedded key/value store for applications that do not need a full database server. source
Scale and memory
The project says databases can exceed physical RAM if the memory map fits the process virtual address space, and notes this may be problematic on 32-bit systems. source
Storage
A database is stored as a single file on disk and represents a consistent snapshot of the data. source
Transactions
bbolt supports serializable ACID transactions with one read-write transaction at a time and multiple concurrent read-only transactions. source
Workload fit
The project describes bbolt as suitable for read-intensive workloads and range scans, while warning that random writes can be slow. source

Checked against the maker's pages on 4 Oct 2026.