910
1.2K
+ 1
93

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.
Traefik is a tool in the Load Balancer / Reverse Proxy category of a tech stack.
Traefik is an open source tool with GitHub stars and GitHub forks. Here’s a link to Traefik's open source repository on GitHub

Who uses Traefik?

Companies
216 companies reportedly use Traefik in their tech stacks, including Yousign, Paralect, and TransferGo.

Developers
558 developers on StackShare have stated that they use Traefik.

Traefik Integrations

Docker, Kubernetes, Golang, Datadog, and Prometheus are some of the popular tools that integrate with Traefik. Here's a list of all 21 tools that integrate with Traefik.
Pros of Traefik
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
Decisions about Traefik

Here are some stack decisions, common use cases and reviews by companies and developers who chose Traefik in their tech stack.

Needs advice
on
NGINXNGINX
and
TraefikTraefik

We are looking to configure a load balancer with some admin UI. We are currently struggling to decide between NGINX, Traefik, HAProxy, and Envoy. We will use a load balancer in a containerized environment and the load balancer should flexible and easy to reload without changes in case containers are scaled up.

See more
Howie Zhao
Full Stack Engineer at yintrust · | 6 upvotes · 116.7K views

We use Traefik as the web server.

The reasons for choosing Traefik over Nginx are as follows:

  • Traefik built-in Let’s Encrypt and supports automatic renewal
  • Traefik automatically enables HTTP/2
  • Prometheus can be supported through simple Traefik configuration
  • cookiecutter django integrates Traefik's configuration by default
See more
Gabriel Pa

We switched to Traefik so we can use the REST API to dynamically configure subdomains and have the ability to redirect between multiple servers.

We still use nginx with a docker-compose to expose the traffic from our APIs and TCP microservices, but for managing routing to the internet Traefik does a much better job

The biggest win for naologic was the ability to set dynamic configurations without having to restart the server

See more

Traefik's Features

  • Continuously updates its configuration (No restarts!)
  • Supports multiple load balancing algorithms
  • Provides HTTPS to your microservices by leveraging Let's Encrypt (wildcard certificates support)
  • Circuit breakers, retry
  • High Availability with cluster mode
  • See the magic through its clean web UI
  • Websocket, HTTP/2, GRPC ready
  • Provides metrics
  • Keeps access logs
  • Fast
  • Exposes a Rest API

Traefik Alternatives & Comparisons

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

Traefik's Followers
1185 developers follow Traefik to keep up with related blogs and decisions.