Traefik vs Varnish

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

Traefik

702
1.1K
+ 1
93
Varnish

11.7K
2.1K
+ 1
359
Add tool

Traefik vs Varnish: What are the differences?

Developers describe Traefik as "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. On the other hand, Varnish is detailed as "High-performance HTTP accelerator". Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.

Traefik can be classified as a tool in the "Load Balancer / Reverse Proxy" category, while Varnish is grouped under "Web Cache".

"Kubernetes integration" is the top reason why over 10 developers like Traefik, while over 99 developers mention "High-performance" as the leading cause for choosing Varnish.

Traefik and Varnish are both open source tools. It seems that Traefik with 23K GitHub stars and 2.36K forks on GitHub has more adoption than Varnish with 908 GitHub stars and 216 GitHub forks.

According to the StackShare community, Varnish has a broader approval, being mentioned in 1003 company stacks & 135 developers stacks; compared to Traefik, which is listed in 46 company stacks and 17 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Traefik
Pros of Varnish
  • 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
    Mesos integration
  • 1
    Mantl integration
  • 103
    High-performance
  • 66
    Very Fast
  • 56
    Very Stable
  • 43
    Very Robust
  • 36
    HTTP reverse proxy
  • 20
    Open Source
  • 17
    Web application accelerator
  • 10
    Easy to config
  • 4
    Widely Used
  • 3
    Great community
  • 1
    Essential software for HTTP

Sign up to add or upvote prosMake informed product decisions

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

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    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.

    What is Varnish?

    Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.

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

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

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

    What tools integrate with Traefik?
    What tools integrate with Varnish?

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

    Blog Posts

    May 6 2020 at 6:34AM

    Pinterest

    JavaScriptC++Varnish+6
    4
    2789
    What are some alternatives to Traefik and Varnish?
    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.
    Kong
    Kong is a scalable, open source API Layer (also known as an API Gateway, or API Middleware). Kong controls layer 4 and 7 traffic and is extended through Plugins, which provide extra functionality and services beyond the core platform.
    NGINX
    nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
    Istio
    Istio is an open platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. Istio's control plane provides an abstraction layer over the underlying cluster management platform, such as Kubernetes, Mesos, etc.
    Envoy
    Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures.
    See all alternatives