Consul vs. Zookeeper vs. etcd



Consul vs Zookeeper vs etcd: What are the differences?

Service discovery tools help services find and communicate with one another. The rise of containers has increased the need for such services. Zookeeper originated in Hadoop for use in Hadoop clusters. It’s the most mature of these three options. etcd is a newer option known for its simplicity and ease of use. Consul is a bit more comprehensive than the other two options, offering not only a key value store but also a built-in framework for service discovery.

Hacker News, Reddit, Stack Overflow Stats

  • 261
  • 21
  • 675
  • -
  • 3
  • 2
  • 2
  • 84
  • 267

GitHub Stats

No public GitHub repository stats available

Description

What is Consul?

Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.

What is Zookeeper?

ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications.

What is etcd?

etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.

Want advice about which of these to choose?Ask the StackShare community!

Pros

Why do developers choose Consul?
Why do you like Consul?

Why do developers choose Zookeeper?
Why do you like Zookeeper?

Why do developers choose etcd?
Why do you like etcd?

Cons

What are the cons of using Consul?
No Cons submitted yet for Consul
Downsides of Consul?

What are the cons of using Zookeeper?
No Cons submitted yet for Zookeeper
Downsides of Zookeeper?

What are the cons of using etcd?
No Cons submitted yet for etcd
Downsides of etcd?

Why do developers choose Consul vs Zookeeper vs etcd?

  • Consul users call it a great service discovery infrastructure with high availability, health checking, gossip clustering, and Docker integration.
  • Zookeeper fans call it high performance and appreciate its Kafka and Spring Boot support.
  • etcd - etcd fans appreciate its fault tolerance as a key value store and that it’s bundled with Coreo.

Companies

What companies use Consul?
143 companies on StackShare use Consul
What companies use Zookeeper?
147 companies on StackShare use Zookeeper
What companies use etcd?
36 companies on StackShare use etcd

Integrations

What tools integrate with Consul?
5 tools on StackShare integrate with Consul
What tools integrate with Zookeeper?
9 tools on StackShare integrate with Zookeeper
What tools integrate with etcd?
5 tools on StackShare integrate with etcd

What are some alternatives to Consul, Zookeeper, and etcd?

  • Eureka - AWS Service registry for resilient mid-tier load balancing and failover.
  • Serf - Service orchestration and management tool
  • SmartStack - Automated service discovery and registration framework
  • SkyDNS - Distributed service for announcement and discovery of services

See all alternatives to Consul

Latest News

MySQL HA Architecture #1 : InnoDB Cluster & Consul
orchestrator 3.0.3: auto provisioning raft nodes, na...
Percona Live Europe Featured Talks: Orchestrating Pr...
Announcing etcd 3.3, with improvements to stability,...


Interest Over Time


Get help choosing one of these