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 | |
|---|---|
| etcd | Distributed reliable key-value store |
| Consul | Offers service discovery, service mesh, traffic management, and more |
| Nacos | Dynamic service discovery, configuration management, and service governance |
| Eureka | RESTful (Representational State Transfer) service |
| Serf | Decentralized membership, failure detection and orchestration |
| ZooKeeper | Centralized service for maintaining configuration information |
| Avahi | Implements zero-configuration networking using mDNS/DNS-SD |
| dnsdock | DNS server for automatic docker container discovery |
Read our verdict in the software roundup.
| Key Value Stores | |
|---|---|
| Redis | In-memory data structure store |
| etcd | Distributed reliable key-value store |
| RocksDB | Persistent key-value store for flash and RAM Storage |
| Valkey | High-performance data structure server |
| Apache Cassandra | Distributed database management system |
| ScyllaDB | Real-time big data database |
| Apache Accumulo | Based on Google's BigTable design |
| ArangoDB | Native multi-model database |
| Aerospike CE | Real-time NoSQL database and key-value store |
| BadgerDB | Embeddable key-value database |
| Berkeley DB | Family of open source, embeddable databases |
| TiKV | Distributed transactional key-value database |
| LevelDB | Fast and lightweight key/value database library by Google |
| Garnet | Remote cache-store |
| KeyDB | High performance fork of Redis |
| Redict | Distributed key/value store |
| Kvrocks | Distributed key-value NoSQL database |
| Project Voldemort | Distributed data store |
| Scalaris | Distributed transactional key-value store |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.