etcd

Distributed reliable key-value store for the most critical data of a distributed system

What is etcd?

Distributed reliable key-value store for the most critical data of a distributed system

Overview of etcd

What it is

etcd is a distributed reliable key-value store for the most critical data of a distributed system. It is written in Go and uses the Raft consensus algorithm to manage a highly-available replicated log. The project is licensed under Apache 2.0 and is categorized as a database. It is used in production by many companies, often teamed with applications such as Kubernetes, locksmith, vulcand, and Doorman. The development team stands behind it in critical deployment scenarios, and reliability is further ensured by rigorous robustness testing.

Key features

  • Simple: well-defined, user-facing API (gRPC)
  • Secure: automatic TLS with optional client cert authentication
  • Fast: benchmarked 10,000 writes/sec
  • Reliable: properly distributed using Raft

Use cases

etcd is designed for storing the most critical data of a distributed system. It is frequently used with Kubernetes for cluster state management, with locksmith for distributed locking, with vulcand for service discovery, and with Doorman for distributed client rate limiting. It is suitable for any scenario requiring a consistent, highly-available key-value store.

Getting started

The easiest way to get etcd is to use one of the pre-built release binaries available for OSX, Linux, Windows, and Docker on the release page. To run a single-member cluster, execute the etcd binary:bash/tmp/etcd-download-test/etcdOr if moved to the system path:bashmv /tmp/etcd-download-test/etcd /usr/local/bin/etcdThis starts etcd listening on port 2379 for client communication and on port 2380 for server-to-server communication. To set and retrieve a key:bashetcdctl put mykey 'this is awesome'etcdctl get mykeyFor more installation guides, see the repository README.

License and pricing

etcd is open source under the Apache 2.0 license. The pricing type is open_source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/etcd-ioetcd.svg)](https://yunodb.com/tools/etcd-ioetcd?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/etcd-ioetcd?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/etcd-ioetcd.svg" alt="Featured on YunoDB" height="20"></a>