15 best Go Key Value Database libraries in 2022
by Open Weaver kits ✔ Updated: Jun 17, 2022
Go Key Value Database libraries are a common way to store data in Golang. The most popular library for this is etcd which has been around since 2014. Bolt, another popular Go Key Value Database library, was recently released by Google and Immutant which are both based on the same API as etcd. Etcd is a distributed key value store that persists data across machines in a cluster. It is built on Google’s Borg-like Raft consensus algorithm. Etcd provides scalability, reliability and high availability for distributed applications. etcd can be used for storing configuration data for Kubernetes clusters as well. Bolt is a distributed key value store that implements lock-free B+-Tree structures for fast lookups of arbitrary keys. The Bolt library provides a plugin interface to make it easy to add support for other types of stores (i.e., Redis) or implement custom values/valuesets by implementing its interface (i.e., write functions).Immudb is an in memory key value database that exposes an event based API through which applications can subscribe to events, register callbacks and enqueue work using queues. Developers tend to use some of the following open source Go Key Value Database libraries
Distributed reliable key-value store for the most critical data of a distributed system
Go 42917 Version:v3.4.24 License: Permissive (Apache-2.0)
immudb - immutable database based on zero trust, SQL and Key-Value, tamperproof, data change history
Go 8113 Version:v1.4.1 License: Permissive (Apache-2.0)
BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
Go 4048 Version:Current License: Permissive (MIT)
RocksDB/LevelDB inspired key-value database in Go
Go 3489 Version:Current License: Permissive (BSD-3-Clause)
A simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.
Go 2791 Version:v0.12.0 License: Permissive (Apache-2.0)
The LevelDB key-value database in the Go programming language.
Go 966 Version:Current License: Permissive (BSD-3-Clause)
a very simple pure key => value storage system that speaks Redis protocol with Postgres as storage engine and more
Go 1156 Version:v5.2.0 License: No License
Graviton Database: ZFS for key-value stores.
Go 402 Version:Current License: Strong Copyleft (GPL-3.0)
S3 backed key/value database for infrequent read access
Go 164 Version:Current License: Permissive (MIT)
BlackholeDB is a simple distributed key-value DB based on IPFS protocol.
Go 117 Version:Current License: Permissive (MIT)
FlashDB is an embeddable, in-memory key/value database in Go (with Redis like commands and super easy to read)
Go 291 Version:Current License: Permissive (MIT)