623
907
+ 1
82

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 35K GitHub stars and 3.9K GitHub forks. Here’s a link to Traefik's open source repository on GitHub

Who uses Traefik?

Companies
174 companies reportedly use Traefik in their tech stacks, including Paralect, Postclick, and Yousign.

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

Traefik Integrations

Docker, Kubernetes, Go, 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
19
Kubernetes integration
16
Watch service discovery updates
12
Letsencrypt support
12
Swarm integration
11
Several backends
4
Rancher integration
4
Ready-to-use dashboard
2
Easy setup
1
Mantl integration
1
Mesos 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.

Gabriel Pa
Shared insights
on
Traefik
NGINX
at

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
Howie Zhao
Full Stack Engineer at yintrust · | 6 upvotes · 44.5K views
Shared insights
on
cookiecutter
Traefik
at

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
Shared insights
on
Envoy
HAProxy
Traefik
NGINX

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

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
907 developers follow Traefik to keep up with related blogs and decisions.