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