Traefik

An HTTP reverse proxy and load balancer that automatically configures routes for microservices in cloud environments.

Traefik screenshot 1

Traefik is an open-source HTTP reverse proxy and load balancer designed specifically for microservices deployed in cloud environments. It functions by automatically detecting and configuring routes through direct integration with service registries and orchestrators, which eliminates the requirement to manually update configuration files every time a service is added, removed, or scaled. This automation ensures that the network layer stays synchronized with the actual state of the deployed infrastructure in real time.

The software is distributed as a single binary written in Go and is also available as an official Docker image for containerized deployments. It acts as the primary entry point for incoming network traffic, directing requests to the appropriate backend services based on dynamic rules. While the primary value lies in its automatic discovery capabilities, the software also provides the flexibility to define specific routes manually for specialized use cases.

Key features

  • Automatic configuration updates without requiring restarts
  • Support for multiple load balancing algorithms
  • HTTPS certificate management via Let's Encrypt
  • Circuit breakers and request retry mechanisms
  • Web UI for visualizing routing configurations
  • Support for WebSocket, HTTP/2, and gRPC
  • Metrics export for Prometheus, Datadog, Statsd, and InfluxDB
  • Access logging in JSON and CLF formats

Traefik integrates with a wide array of infrastructure components, including Docker, Swarm mode, Kubernetes, Consul, Etcd, Rancher v2, and Amazon ECS. It is built for developers and system administrators who manage complex containerized environments and need a way to expose microservices to the outside world without tedious manual overhead. The architecture includes a REST API for programmatic interaction and a simple HTML frontend for monitoring the current routing state.

Traefik serves as a dynamic infrastructure layer for container orchestration and API management.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity17 days ago
Repository Age10 years
LicenseMIT
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.