Consul vs Eureka vs Zookeeper





Consul vs Eureka vs Zookeeper: What are the differences?

Consul is a service discovery framework with a REST interface and some features such as health checking, service segmentation with its own internal distributed key-value store. Consul includes service discovery, but also rich health checking, locking, Key/value, multi-datacenter federation, an event system. Eureka – A service discovery tool, the architecture is primarily client/server, with clients mainly using embedded SDK to register and discover services. A service locator used as part of Netflix's load balancers and failovers. Zookeeper –Apache Zookeeper is a distributed key-value store which can be used as the basis to implement service discovery. Mostly a common-purpose distributed key/value store used for service-discovery in conjunction.

- No public GitHub repository available -

What is Consul?

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

What is Eureka?

Eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers.

What is Zookeeper?

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.

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

Why do developers choose Consul?
Why do developers choose Eureka?
Why do developers choose Zookeeper?
What are the cons of using Consul?
What are the cons of using Eureka?
What are the cons of using Zookeeper?
    Be the first to leave a con
      Be the first to leave a con
        Be the first to leave a con
        What companies use Consul?
        What companies use Eureka?
        What companies use Zookeeper?
        What are some alternatives to Consul, Eureka, and Zookeeper?
        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.
        SkyDNS is a distributed service for announcement and discovery of services. It leverages Raft for high-availability and consensus, and utilizes DNS queries to discover available services. This is done by leveraging SRV records in DNS, with special meaning given to subdomains, priorities and weights (more info here:
        Map services to arbitrary URLs in a single, declarative YAML file. Configure routes with CORS support, circuit breakers, timeouts, and more. Replace your Kubernetes ingress controller. Route gRPC, WebSockets, or HTTP.
        Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
        Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
        See all alternatives
        What tools integrate with Consul?
        What tools integrate with Eureka?
        What tools integrate with Zookeeper?
          No integrations found
            No integrations found
            Decisions about Consul, Eureka, and Zookeeper
            No stack decisions found
            Interest over time
            Reviews of Consul, Eureka, and Zookeeper
            No reviews found
            How developers use Consul, Eureka, and Zookeeper
            Avatar of Soundcloud
            Soundcloud uses ZookeeperZookeeper

            Initially, Stitch only supported real-time updates and addressed this problem with a MapReduce job named The Restorator that performed the following actions:

            • Calculated the expected totals
            • Queried Cassandra to get the values it had for each counter
            • Calculated the increments needed to apply to fix the counters
            • Applied the increments

            Meanwhile, to stop the sand shifting under its feet, The Restorator needed to coordinate a locking system between itself and the real-time processors, so that the processors did not try to simultaneously apply increments to the same counter, resulting in a race-condition. It used ZooKeeper for this.

            Avatar of Pinterest
            Pinterest uses ZookeeperZookeeper

            Like many large scale web sites, Pinterest’s infrastructure consists of servers that communicate with backend services composed of a number of individual servers for managing load and fault tolerance. Ideally, we’d like the configuration to reflect only the active hosts, so clients don’t need to deal with bad hosts as often. ZooKeeper provides a well known pattern to solve this problem.

            Avatar of Chris Hartwig
            Chris Hartwig uses ConsulConsul

            All our services use Consul for discovery, configuration and cluster management (auto scaling, health monitoring, dynamic reconfiguration, leader elections)

            Avatar of Pinterest
            Pinterest uses ZookeeperZookeeper

            Zookeeper manages our state, and tells each node what version of code it should be running.

            Avatar of Ralic Lo
            Ralic Lo uses ZookeeperZookeeper

            Used Zookeeper as the resource management system for Mesos/Marathon services.

            Avatar of Tom Staijen
            Tom Staijen uses ConsulConsul

            Discovery service. Some configuration is stored in consul.

            Avatar of Robert Hao
            Robert Hao uses ConsulConsul

            I used Consul as config center & service discoverer.

            Avatar of Nurul Ferdous
            Nurul Ferdous uses ZookeeperZookeeper

            Maintain a distributed cluster for search index

            Avatar of Ismael Arenzana
            Ismael Arenzana uses ConsulConsul

            How else do you discover microservices? ;)

            Avatar of exana
            exana uses ConsulConsul

            For service discovery.

            How much does Consul cost?
            How much does Eureka cost?
            How much does Zookeeper cost?
            Pricing unavailable
            Pricing unavailable
            Pricing unavailable
            News about Eureka
            More news
            News about Zookeeper
            More news