Blog
May 6, 2025

Traefik Proxy 3.4 “Chaource” Is Ready to Serve

Traefik Proxy 3.4 is here, and it’s greater than ever! Codenamed “Chaource” 🧀 (a creamy delight from Champagne, France, has been crafted since Roman times), this release is packed with zesty new features, smoother operations, and a sprinkle of magic to keep your infrastructure running like a well-oiled fondue pot. Let’s cut through the rind and dig into the goodness!

Key New Features

Distributed Rate-Limiting with Redis 

“Sharing is caring” just got a whole new meaning! Traefik’s new distributed rate-limiting (#10211 by longquan0104) lets you enforce traffic rules globally across instances using Redis. No more rogue services hogging bandwidth—this feature ensures fair play, even in a multi-node setup. Perfect for stopping API abuse or managing traffic spikes without breaking a sweat.

Here is an example to deploy a rateLimit middleware in Kubernetes:

apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
   name: test-ratelimit
spec:
   rateLimit:
      # ...
      redis:
         secret: mysecret

---
apiVersion: v1
kind: Secret
metadata:
   name: mysecret
   namespace: default
data:
   username: dXNlcm5hbWU=
   password: cGFzc3dvcmQ=

P2C (Power of Two Choices) Load-Balancing

Meet the Power of Two Choices (P2C) load balancer—your new traffic whisperer. Instead of blindly picking a backend, P2C intelligently selects two random candidates and routes requests to the least busy one (initiated by ifross89 in #10534). Under heavy traffic, P2C avoids overloading a single server “by accident”. This results in fewer bottlenecks and a steadier, more predictable load distribution.

Enabling P2C is easy. In your service’s load-balancer config, set the method to p2c instead of the default. For example:

http:
  services:
    my-service:
      loadBalancer:
        servers:
          - url: "http://10.0.0.1"
          - url: "http://10.0.0.2"
          - url: "http://10.0.0.3"
          - url: "http://10.0.0.4"
        method: "p2c"

Custom Server URL with Labels 

A long awaited feature is part of this release, Chaource lets you define server URLs via labels on Docker, Swarm, ECS, Consul & Nomad (#11374 by yelvert). This feature is needed in case you don’t want to use the container’s IP but a custom URL instead.

Here is a Docker compose example deploying an app and setting custom server urls:

version: '3.8'
services:
  main:
    image: lorem/ipsum:latest
    deploy:
      replicas: 3
      labels:
        - "traefik.enable=true"

        - "traefik.http.routers.service1.entrypoints=https"
        - "traefik.http.routers.service1.rule=Host(`foobar1.example.com`)"
        - "traefik.http.routers.service1.service=foobar1"
        - "traefik.http.routers.service1.tls=true"
        - "traefik.http.services.service1.loadbalancer.server.url=http://foobar1:80"
        
        - "traefik.http.routers.service2.entrypoints=https"
        - "traefik.http.routers.service2.rule=Host(`foobar2.example.com`)"
        - "traefik.http.routers.service2.service=foobar2"
        - "traefik.http.routers.service2.tls=true"
        - "traefik.http.services.service2.loadbalancer.server.url=http://foobar2:80"

        - "traefik.docker.network=traefik"

More Delicacies

A Big Slice of Gratitude

Chaource wouldn’t be the same without our amazing community! To everyone who filed bugs, brainstormed features, or geeked out with us on GitHub—thank you! 🥂

Got questions? Compliments? Cheese puns? Share them in our Community Forum!

About the Author

Emile Vauge is the founder & CTO of Traefik Labs. After creating Traefik Proxy, the OSS ingress controller with 3.4B downloads & 60k GitHub stars, Emile is helping transform the industry, yet again, with Traefik's code-first API management solution.

Latest from Traefik Labs

How to Choose the Right Load Balancing Strategy for Your Use Case
Blog

How to Choose the Right Load Balancing Strategy for Your Use Case

Read more
The Infrastructure Reality Behind AI Hype: What the 2026 CNCF Survey Reveals (And What It Doesn't)
Blog

The Infrastructure Reality Behind AI Hype: What the 2026 CNCF Survey Reveals (And What It Doesn't)

Read more
AI Run Amok: Your MCP Blind Spot and How to Secure It
Webinar

AI Run Amok: Your MCP Blind Spot and How to Secure It

Watch now