buntdb VS bolt

Compare buntdb vs bolt and see what are their differences.

buntdb

BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support (by tidwall)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
buntdb bolt
8 24
4,738 11,201
0.6% -
3.9 0.0
10 months ago over 7 years ago
Go Go
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

buntdb

Posts with mentions or reviews of buntdb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-15.

bolt

Posts with mentions or reviews of bolt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-06-01.
  • Distributed Systems | What can we learn from Roblox's 3-day outage?
    2 projects | dev.to | 1 Jun 2025
    📈 Interestingly, this performance issue was first reported in 2016 (GitHub Issue), but it was never fixed. The author of BoltDB, Ben Johnson, stopped maintaining the project in 2017, stating:
  • Bleve: How to build a rocket-fast search engine?
    1 project | dev.to | 18 Dec 2024
    Bleve supports a few different index types, but I found after much fiddling that the "scorch" index type gives you the best performance. If you don't pass in the last 3 arguments, Bleve will just default to BoltDB.
  • Announcing jammdb: a simple single-file key/value store
    4 projects | /r/rust | 24 Feb 2023
    This crate started out as just a way for me to learn how boltdb works, while learning Rust at the same time. But somehow people started finding and using it and seem to like the simple API, so I figured I might as well share it in case someone else finds it useful too. If you want to know more about my motivations and the history of this crate, you can read the release notes on version 0.8.0!
  • Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
    7 projects | /r/golang | 29 Jan 2023
    Some example of embeddable database could be genji, badger and boltdb
  • Resource for making database from scratch
    13 projects | /r/golang | 11 Nov 2022
  • Ask HN: Books on designing disk-optimized data structures?
    1 project | news.ycombinator.com | 24 Sep 2022
    Designing Data Intensive applications- specifically chapter 3 and 4 which deal with strategies and algorithms for storing and encoding data to be stored on disk and their pros and cons.

    Once you read that, I'll suggest reading the source of a simple embedded key-value database, I wouldn't bother with RDBMs as they are complex beasts and contain way more than you need. BoltDB is a good project to read the source of https://github.com/boltdb/bolt, the whole thing is <10k lines of code and is a full blown production grade system with ACID semantics so packs a lot in those 10k and isn't just merely a toy.

  • GitHub examples of Go that's written really well?
    12 projects | /r/golang | 15 Aug 2022
    Bolt db and Bolt db's author post to go with it.
  • Open Source Databases in Go
    52 projects | /r/golang | 8 Jun 2022
    https://github.com/boltdb/bolt is a ACID B+ tree key-value store
  • A Database for 2022
    13 projects | news.ycombinator.com | 1 Apr 2022
  • Single Dependency Stacks
    3 projects | news.ycombinator.com | 9 Feb 2022
    For a single server, SQLite, or boltdb[0]

    I've never had to scale horizontally. I develop in Go and you can get very far along with just vertical scaling (aka beefier hardware).

    Therefore I can't give concrete examples of a distributed db-as-a-library.

    But all that you need is to extend the functions that fetch data to not just fetch from disk but from "peers" as well. For this to work you need servers (instances) to know about each other, and as you add more they also get added to their peers - sort of like a bittorrent network. I don't think it's difficult to do.

    SQLite might not be suited for being distributed (although RQlite[1] claims to have done it).

    Making a distributed data storage based on boltdb[0] is probably more feasible.

    Whatever the case, there's no reason why a data storage engine can't be a library, even if it's distributed.

    [0]: https://github.com/boltdb/bolt

    [1]: https://github.com/rqlite/rqlite

What are some alternatives?

When comparing buntdb and bolt you can also consider the following projects:

go-memdb - Golang in-memory database built on immutable radix trees

dbr - Additions to Go's database/sql for super fast performance and convenience.

badger - Fast key-value DB in Go.

ledisdb - A high performance NoSQL Database Server powered by Go

SQLite - Official Git mirror of the SQLite source tree

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured