Skip to content
SPECIFICTION
Get listed

bbolt vs LMDB

bbolt

github.com

LMDB

symas.com

Side by side

FigurebboltLMDB
Price fromFree—
Free planYes—
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
iOSYes—
AndroidYes—
Self-hostedYesYes
Plans published12
Spec score · Embedded Databases8.4 (#6)7.5 (#22)
IntegrationsThe README lists projects using Bolt, including Consul, Containerd, InfluxDB, Prometheus Annotation Server, and NATS Streaming.Symas reports integrations with OpenDKIM, Heimdal Kerberos, Postfix, Cyrus SASL, MemcacheDB, SQLite3, and Riak.
Purposebbolt is a maintained fork of Bolt, a pure Go embedded key/value store for applications that do not need a full database server.LMDB is an ultra-fast, ultra-compact, crash-proof key-value embedded data store developed for the OpenLDAP Project.
Transactionsbbolt supports serializable ACID transactions with one read-write transaction at a time and multiple concurrent read-only transactions.LMDB provides full ACID semantics with MVCC, reader/writer transactions, and deadlock-free serialized writes.

Plans

bbolt

  • bboltFree

bbolt pricing →

LMDB

  • EnterprisePriced on request
  • GoldPriced on request

LMDB pricing →

In their own words

bbolt

bbolt is a maintained fork of Bolt, providing Go applications with an embedded key-value store instead of a full database server. It keeps the database in one file, representing a consistent snapshot of its data. Key/value pairs are arranged in buckets, which can be nested, and bucket keys are stored in byte-sorted order. The library supports serializable ACID transactions: one read-write transaction at a time, alongside multiple concurrent read-only transactions.

A read-only transaction can create a consistent hot backup without blocking other database reads and writes. bbolt exposes operation statistics that can be logged or sent to a service such as statsd. The project describes it as a fit for read-intensive workloads and range scans, while warning that random writes can be slow. The database file has an exclusive write lock, so multiple processes cannot share it for writing; read-only mode permits multiple readers. The project documents gomobile bindings for iOS and Android, as well as Windows, macOS and Linux support. It is free under the MIT license, with no paid support plan listed.

Visit github.com

LMDB

LMDB has no write-up on Specifiction yet; its figures are above.

Visit symas.com