dbbench
go-memdb
Our great sponsors
dbbench | go-memdb | |
---|---|---|
1 | 3 | |
96 | 3,067 | |
- | 1.6% | |
8.5 | 3.6 | |
2 days ago | about 2 months ago | |
Go | Go | |
MIT License | Mozilla Public License 2.0 |
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.
dbbench
go-memdb
-
I created an in-memory SQL database called MemSQL as a learning project
For another in-memory database example, you could also check out https://github.com/hashicorp/go-memdb, but it's based on a radix tree implementation.
-
Why use a real K/V database over a MapStore?
I just think its a glorified map. Yeah, for example go-memdb list some of its advantages in their https://github.com/hashicorp/go-memdb/blob/master/README.md README. But it is not clear whether you gain any performance gain over a map except for avoiding the locking as explained.
-
An Unlikely Database Migration
>So we invested what probably amounts to two or three weeks of engineering time into designing in-memory indexes that are transactionally consistent
I'll be interested to see that part if it does get open sourced. I've used https://github.com/hashicorp/go-memdb which sounds similar.
What are some alternatives?
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
badger - Fast key-value DB in Go.
go-mysql - a powerful mysql toolset with Go
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
bolt
xo - Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
rqlite - The lightweight, distributed relational database built on SQLite.
cockroach - CockroachDB - the open source, cloud-native distributed SQL database.
goleveldb - LevelDB key/value database in Go.