etcd – distributed key-value store

etcd is a distributed key-value store designed for storing critical configuration and state information in distributed systems. It provides strongly consistent access to data replicated across a cluster, allowing applications to coordinate changes and recover from individual machine failures. etcd is widely used as a foundational component of Kubernetes, where it stores cluster configuration and the state of managed resources.

The system uses the Raft consensus algorithm to agree on updates between cluster members. A majority of voting members must participate in committing changes, which protects the consistency of replicated data during failures and network disruptions. Its multiversion data model retains historical revisions of keys, supporting watches that notify clients about changes and transactions that depend on the current state of the store. These facilities make etcd useful for configuration distribution, leader election, distributed locks and other coordination tasks. Although its data model is comparatively simple, it offers the consistency, security and operational tools required by critical infrastructure.

This is free and open source software.

Key Features

  • Strongly consistent distributed key-value storage.
  • Replicate data across cluster members using Raft consensus.
  • Maintain availability when a quorum survives node failures.
  • Provide a gRPC API for reading and modifying keys.
  • Support range queries over lexicographically ordered keys.
  • Store revisions of values using multiversion concurrency control.
  • Execute atomic transactions with conditional comparisons.
  • Implement compare-and-swap operations for coordinated updates.
  • Watch keys and key ranges for changes.
  • Resume supported watches from earlier revisions.
  • Use leases to associate expiration times with keys.
  • Automatically remove keys when their associated leases expire.
  • Support distributed locks and leader elections through concurrency primitives.
  • Provide linearizable reads and less expensive serializable reads.
  • Authenticate clients using usernames, passwords or client certificates.
  • Restrict access to individual keys and ranges using role-based permissions.
  • Encrypt client-server and peer communications using TLS.
  • Add and remove cluster members through administrative operations.
  • Use learner members when expanding clusters.
  • Create snapshots for backup and disaster recovery.
  • Compact historical revisions and defragment the database.
  • Expose operational metrics compatible with Prometheus.
  • Manage data and clusters using the etcdctl command-line utility.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/etcd-io/etcd
Support:
Developer: etcd Authors
License: Apache License 2.0

etcd is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Service Discovery
etcdDistributed reliable key-value store
ConsulOffers service discovery, service mesh, traffic management, and more
NacosDynamic service discovery, configuration management, and service governance
EurekaRESTful (Representational State Transfer) service
SerfDecentralized membership, failure detection and orchestration
ZooKeeperCentralized service for maintaining configuration information
AvahiImplements zero-configuration networking using mDNS/DNS-SD
dnsdockDNS server for automatic docker container discovery

Read our verdict in the software roundup.

Key Value Stores
RedisIn-memory data structure store
etcdDistributed reliable key-value store
RocksDBPersistent key-value store for flash and RAM Storage
ValkeyHigh-performance data structure server
Apache CassandraDistributed database management system
ScyllaDBReal-time big data database
Apache AccumuloBased on Google's BigTable design
ArangoDBNative multi-model database
Aerospike CEReal-time NoSQL database and key-value store
BadgerDBEmbeddable key-value database
Berkeley DBFamily of open source, embeddable databases
TiKVDistributed transactional key-value database
LevelDBFast and lightweight key/value database library by Google
GarnetRemote cache-store
KeyDBHigh performance fork of Redis
RedictDistributed key/value store
KvrocksDistributed key-value NoSQL database
Project VoldemortDistributed data store
ScalarisDistributed transactional key-value store

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted