# etcd

> A distributed, reliable key-value store for the most critical data of a distributed system

Source: https://talira.ai/catalog/etcd-zdq64wjj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Database
- Categories: [databases / key value / consensus](https://talira.ai/categories/databases/key-value/consensus), [infrastructure / kubernetes / datastores](https://talira.ai/categories/infrastructure/kubernetes/datastores)
- Platforms: linux, macos, windows, docker[^6]
- Licence: Apache-2.0[^5]
- Pricing: Free and open source[^5]
- Free tier: yes[^5]
- Self-hostable: yes[^6]
- API: yes[^7]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^8][^9]

etcd is a strongly consistent, distributed key-value store that replicates its data with the Raft consensus protocol, so a cluster of three or five members keeps working when a minority fails. Clients read, write and watch keys for changes over gRPC, with leases (TTLs), transactions, and automatic TLS with optional client certificate authentication. It is the store behind [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)' API server, and is a CNCF project written in Go under Apache-2.0. It's built for small metadata: requests are capped at 1.5 MiB by default and 8 GiB is the suggested maximum database size.

## Links

- Website: https://etcd.io
- GitHub: https://github.com/etcd-io/etcd
- Docs: https://etcd.io/docs/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/etcd>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/source/stable/etcd>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/etcd>[^3]

## Problems it solves

- a consistent place for our distributed services to store configuration that every node agrees on
- leader election between several instances of a service so only one does the work
- get notified the moment a configuration key changes instead of polling
- a distributed lock that survives a node crashing
- the backing store for a Kubernetes control plane we run ourselves
- service discovery data that stays correct during network partitions
- keys that expire automatically when the process holding them stops renewing
- back up and restore the state of our Kubernetes control plane
- compare-and-swap updates across several keys in one transaction
- a replicated store that keeps working when one of three servers goes down
- secure the connection between our services and the configuration store with client certificates

## Features

- Raft consensus replication
- watch keys or prefixes for changes
- leases with TTLs
- multi-key transactions
- gRPC API with an official Go client (go.etcd.io/etcd/client/v3)
- automatic TLS with optional client certificate authentication
- etcdctl command-line client
- benchmarked at 10,000 writes a second
- snapshots for backup and restore
- pre-built binaries for Linux, macOS and Windows, and container images
- robustness testing of its consistency guarantees

## Limitations

- Not for large values or big datasets: requests are capped at 1.5 MiB by default and 8 GiB is the suggested maximum size[^4]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.48 out of 1.
Signals: backing 0.55, extensibility 0.40.

- backed by Cloud Native Computing Foundation
- funding: non-profit

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Apache ZooKeeper](https://talira.ai/catalog/apache-zookeeper-36ca98yg.md): The standard for distributed coordination
- [Kine](https://talira.ai/catalog/kine-5p0ezv6x.md): Run Kubernetes on MySQL, Postgres, sqlite, not etcd
- [Consul](https://talira.ai/catalog/consul-awh1xha3.md): Service networking automations across clouds
- [TiKV](https://talira.ai/catalog/tikv-x2gzywpx.md): Highly scalable, low latency, easy to use distributed transactional key-value database
- [FoundationDB](https://talira.ai/catalog/foundationdb-f4q9wpyr.md): The open source, distributed, transactional key-value store

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^4]: https://etcd.io/docs/v3.6/dev-guide/limit/ (checked 19 Nov 2026)
[^5]: https://github.com/etcd-io/etcd/blob/main/LICENSE (checked 19 Nov 2026)
[^6]: https://github.com/etcd-io/etcd/blob/main/README.md (checked 19 Nov 2026)
[^7]: https://etcd.io/ (checked 19 Nov 2026)
[^8]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^9]: https://www.cncf.io/ (checked 20 Nov 2026)
