bbolt
An embedded key/value database for Go. (by etcd-io)
chai
Modern embedded SQL database (by chaisql)
bbolt | chai | |
---|---|---|
18 | 13 | |
7,668 | 1,468 | |
1.3% | 1.8% | |
9.0 | 8.5 | |
2 days ago | about 2 months ago | |
Go | Go | |
MIT License | 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.
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.
bbolt
Posts with mentions or reviews of bbolt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-16.
-
How to extract key-value versioning from BBoltDB in ETCD as a Go Code
Based on this [GitHub document](https://github.com/etcd-io/bbolt) for BBoltDB, we can understand that Go Code be used to create a BBoltDB database on the system. The key-values added & operations done on them in that Go Code are stored in the BBoltDB database.
-
Locker: Store secrets on your local file system.
A Locker is a store on your file system (built on top of the amazing bbolt).
-
Looking for fast, space-efficient key-lookup
- bbolt for storage on disk. In order to get the smallest db file size possible make sure you insert the keys in order and set:
- is it possible to create a social media with all apis without database saving all the data into a yml or a json?
-
BoltDB performance hit with large values?
I'm wanting to store some wasm modules (as []byte) in BoltDB. Right now the modules are <1MB, but eventually, they could be 10-50MB in size. Is this going to reduce the performance of BoltDB all around, if the size of a value is this large? If it makes a difference, I'm using the Storm toolkit for querying.
-
Open Source Databases in Go
bbolt - An embedded key/value database for Go.
-
Help to learn multithreading in Go
For learning goroutines and channels, I usually recommend writing a program that reads from files and writes the data in a dummy database with something like https://github.com/etcd-io/bbolt. It's relatively simple and you're more likely to run into common manifestations of concurrency issues running disk operations.
-
[Noob] Question about Channels
If you would like to explore usage of channels, I highly recommend writing a program that reads from files and writes the data in a dummy database with something like https://github.com/etcd-io/bbolt.
-
A tiny NoSQL database
No transactions, no consistency guarantees, no benchmarks, global locks in the storage implementation, a collection is copied in its entirety on every insertion to it...I realize it's not for the same use case as MySQL or MongoDB, but a more obvious comparison here is e.g. https://github.com/etcd-io/bbolt. So why should someone use this over bbolt?
-
A pure Go embedded SQL database
use go-sqlite3 to work with sqlite3 is one choice.
https://github.com/etcd-io/bbolt is another pure go option.
cznic seems like an alternative to bbolt. nice to have some options.
chai
Posts with mentions or reviews of chai.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-29.
-
Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
Some example of embeddable database could be genji, badger and boltdb
- Resource for making database from scratch
-
Databases: 2021 in Review and Predictions for 2022
I keep reaching for SQLite and it keeps working. Although I've been needing a better review of what other embedded databases I should be considering in 2022. I tried Genji[1] recently and tore it out as it wasn't doing ORDER BY with multiple columns.
1. https://genji.dev/
- Genji – Document-oriented, embedded SQL database written in Go
-
Open Source Databases in Go
Genji is a document-oriented, embedded, SQL database. It is build over Pebble which is a port of RocksDB in Go, by the authors of CockroachDB.
-
Looking for: library to turn SQL (or abstracted) to code & execute against custom backend (slice of structs)
Use sth like https://github.com/genjidb/genji, which is an embedded DB with SQL
-
Embedded database options
Another option could be also Genji - https://github.com/genjidb/genji
-
Alternative to MongoDB?
There is Genji, this is a document-oriented embedded SQL database written in Go. It's still a work in progress though, but it looks great!
- A pure Go embedded SQL database
- Which Go database/storage package do you go for first when your program needs to store a moderate amount of organized data?
What are some alternatives?
When comparing bbolt and chai you can also consider the following projects:
badger - Fast key-value DB in Go.
sqlite
bolt
awesome-go-storage - A curated list of awesome Go storage projects and libraries
goleveldb - LevelDB key/value database in Go.
ent - An entity framework for Go
go-sqlite - Low-level Go interface to SQLite 3
rqlite - The lightweight, distributed relational database built on SQLite.
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
BigCache - Efficient cache for gigabytes of data written in Go.
sqlite - Go SQLite3 driver