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

Consul

1.2K
1.4K
+ 1
206
Traefik

725
1.1K
+ 1
93
Add tool

Consul vs Traefik: What are the differences?

What is 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.

What is Traefik? Load Balancer for Microservices. Træfɪk is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker, Swarm, Mesos/Marathon, Kubernetes, Consul, Etcd, Zookeeper, BoltDB, Rest API, file...) to manage its configuration automatically and dynamically.

Consul and Traefik are primarily classified as "Open Source Service Discovery" and "Load Balancer / Reverse Proxy" tools respectively.

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

Consul and Traefik are both open source tools. It seems that Traefik with 23.2K GitHub stars and 2.4K forks on GitHub has more adoption than Consul with 16.4K GitHub stars and 2.85K GitHub forks.

According to the StackShare community, Consul has a broader approval, being mentioned in 134 company stacks & 55 developers stacks; compared to Traefik, which is listed in 46 company stacks and 19 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Consul
Pros of Traefik
  • 58
    Great service discovery infrastructure
  • 35
    Health checking
  • 27
    Distributed key-value store
  • 26
    Monitoring
  • 23
    High-availability
  • 12
    Web-UI
  • 10
    Token-based acls
  • 6
    Gossip clustering
  • 5
    Dns server
  • 3
    Not Java
  • 1
    Docker integration
  • 20
    Kubernetes integration
  • 18
    Watch service discovery updates
  • 14
    Letsencrypt support
  • 13
    Swarm integration
  • 12
    Several backends
  • 6
    Ready-to-use dashboard
  • 4
    Easy setup
  • 4
    Rancher integration
  • 1
    Mantl integration
  • 1
    Mesos integration

Sign up to add or upvote prosMake informed product decisions

Cons of Consul
Cons of Traefik
    Be the first to leave a con
    • 7
      Not very performant (fast)
    • 7
      Complicated setup

    Sign up to add or upvote consMake informed product decisions

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

    A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically.

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

    What companies use Consul?
    What companies use Traefik?
    See which teams inside your own company are using Consul or Traefik.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Consul?
    What tools integrate with Traefik?

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

    Blog Posts

    What are some alternatives to Consul and Traefik?
    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