homelab
go-memdb
Our great sponsors
homelab | go-memdb | |
---|---|---|
2 | 3 | |
1,882 | 3,070 | |
- | 1.7% | |
0.0 | 3.6 | |
about 4 years ago | 2 months ago | |
Go | ||
- | 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.
homelab
- How are entry level people supposed to get into the tech world?
-
An Unlikely Database Migration
We have a lot of Kubernetes experience on the team. Multiple of us run Kubernetes clusters in our home labs (mine: https://github.com/bradfitz/homelab), and one of us used to be on the Google GKE team as an SRE, and is the author of https://metallb.universe.tf/ (which multiple of us also use).
Us _not_ using Kubernetes isn't because we don't know how to use it. It's because we _do_ know how to use it and when _not_ to use it. :)
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?
lungo - A MongoDB compatible embeddable database and toolkit for Go.
dbbench - 🏋️ dbbench is a simple database benchmarking tool which supports several databases and own scripts
SQLBoiler - Generate a Go ORM tailored to your database schema.
badger - Fast key-value DB in Go.
Homelab - Projects and scripts in my lab
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
bolt
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
cockroach - CockroachDB - the open source, cloud-native distributed SQL database.
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
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
eliasdb - EliasDB a graph-based database.