AlgoViz

etcd

medium 30 min

etcd is a small, strongly consistent key-value store.

Where it shows up

The same pattern appears across everyday software.

  • Kubernetes

    Every cluster that follows the standard design keeps its state in etcd. Only the API server talks to it, and controllers learn of changes by watches.

  • CoreOS Container Linux

    locksmith used a distributed semaphore in etcd, so that only a few machines of a cluster rebooted at the same time.

  • TiDB

    The placement driver, which holds cluster metadata and hands out global timestamps, embeds etcd for availability and failover.

  • Tencent Games

    Its entry in the adopters list names service discovery and configuration metadata, in tens of three-member clusters holding tens of megabytes each.

  • OpenTable

    Its entry describes internal service discovery and configuration in six independent clusters of three members.

  • Vonage

    Its entry names Kubernetes, a Vault backend, microservice configuration, scheduling and locks.