Need advice about which tool to choose?Ask the StackShare community!

Consul

1K
1.3K
+ 1
204
Hystrix

133
135
+ 1
2
Add tool

Consul vs Hystrix: What are the differences?

Developers describe Consul as "A tool for service discovery, monitoring and configuration". Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable. On the other hand, Hystrix is detailed as "Latency and fault tolerance library". Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

Consul can be classified as a tool in the "Open Source Service Discovery" category, while Hystrix is grouped under "Fault Tolerance Tools".

Some of the features offered by Consul are:

  • Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.
  • Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.
  • Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.

On the other hand, Hystrix provides the following key features:

  • Latency and Fault Tolerance
  • Realtime Operations
  • Concurrency

Consul and Hystrix are both open source tools. Hystrix with 17.6K GitHub stars and 3.59K forks on GitHub appears to be more popular than Consul with 16.2K GitHub stars and 2.82K GitHub forks.

Slack, SendGrid, and Oscar Health are some of the popular companies that use Consul, whereas Hystrix is used by Bodybuilding.com, Yammer, and Intuit. Consul has a broader approval, being mentioned in 131 company stacks & 52 developers stacks; compared to Hystrix, which is listed in 12 company stacks and 8 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Consul
Pros of Hystrix
  • 59
    Great service discovery infrastructure
  • 35
    Health checking
  • 27
    Distributed key-value store
  • 25
    Monitoring
  • 23
    High-availability
  • 11
    Web-UI
  • 10
    Token-based acls
  • 6
    Gossip clustering
  • 5
    Dns server
  • 2
    Not Java
  • 1
    Docker integration
  • 2
    Cirkit breaker

Sign up to add or upvote prosMake informed product decisions

What is Consul?

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

What is Hystrix?

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Consul?
What companies use Hystrix?
See which teams inside your own company are using Consul or Hystrix.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Consul?
What tools integrate with Hystrix?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to Consul and Hystrix?
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.
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.
SkyDNS
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: http://blog.gopheracademy.com/skydns).
Ambassador
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.
Kubernetes
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