Get Advice Icon

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

Consul
Consul

566
462
+ 1
177
HAProxy
HAProxy

1.7K
1.1K
+ 1
475
Add tool

Consul vs HAProxy: What are the differences?

Consul: 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; HAProxy: The Reliable, High Performance TCP/HTTP Load Balancer. HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

Consul can be classified as a tool in the "Open Source Service Discovery" category, while HAProxy is grouped under "Load Balancer / Reverse Proxy".

"Great service discovery infrastructure" is the primary reason why developers consider Consul over the competitors, whereas "Load balancer" was stated as the key factor in picking HAProxy.

Consul is an open source tool with 16.4K GitHub stars and 2.85K GitHub forks. Here's a link to Consul's open source repository on GitHub.

Instagram, Dropbox, and Medium are some of the popular companies that use HAProxy, whereas Consul is used by Slack, DigitalOcean, and Rainist. HAProxy has a broader approval, being mentioned in 457 company stacks & 211 developers stacks; compared to Consul, which is listed in 134 company stacks and 55 developer stacks.

- 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 HAProxy?

HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
Get Advice Icon

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

Why do developers choose Consul?
Why do developers choose HAProxy?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    Jobs that mention Consul and HAProxy as a desired skillset
    What companies use Consul?
    What companies use HAProxy?

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

    What tools integrate with Consul?
    What tools integrate with HAProxy?

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

    What are some alternatives to Consul and HAProxy?
    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
    Decisions about Consul and HAProxy
    No stack decisions found
    Interest over time
    Reviews of Consul and HAProxy
    No reviews found
    How developers use Consul and HAProxy
    Avatar of Trello
    Trello uses HAProxyHAProxy

    We use HAProxy to load balance between our webservers. It balances TCP between the machines round robin and leaves everything else to Node.js, leaving the connections open with a reasonably long time to live to support WebSockets and re-use of a TCP connection for AJAX polling.

    Avatar of The Independent
    The Independent uses HAProxyHAProxy

    HAProxy manages internal and origin load balancing using KeepaliveD. Two small servers host the entire site, never moving about 15% load even during the largest load spikes.

    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 Packet
    Packet uses HAProxyHAProxy

    We use HAProxy to balance traffic at various points in our stack, includgin nginx nodes on different physical machines, and api nodes on the backend.

    Avatar of ssshake
    ssshake uses HAProxyHAProxy

    I use HAproxy primarily for application routing and SSL termination. I also use its logs and statistics to visualize incoming traffic in Kibana.

    Avatar of Clarabridge Engage
    Clarabridge Engage uses HAProxyHAProxy

    We use HAProxy to load balance web requests for our web application, but also for some internal load balancing of microservices.

    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 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 HAProxy cost?
    Pricing unavailable
    Pricing unavailable