+ 1

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?

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

566 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
Kubernetes integration
Watch service discovery updates
Letsencrypt support
Swarm integration
Several backends
Ready-to-use dashboard
Easy setup
Rancher integration
Mesos integration
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

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 · 123.4K 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 (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 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 [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 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.
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
1189 developers follow Traefik to keep up with related blogs and decisions.