# Scaling Traefik to hundreds of thousands of routes

**URL:** <https://community.traefik.io/t/scaling-traefik-to-hundreds-of-thousands-of-routes/17760>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [March 3, 2023, 4:23am UTC](https://community.traefik.io/t/scaling-traefik-to-hundreds-of-thousands-of-routes/17760 "2023-03-03T04:23:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![msmith](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/msmith/32/6750_2.png) [@msmith](https://community.traefik.io/u/msmith)\
**Post date:** [March 3, 2023, 4:23am UTC](https://community.traefik.io/t/scaling-traefik-to-hundreds-of-thousands-of-routes/17760/1 "2023-03-03T04:23:57Z")

</div>

I'm exploring Traefik to provide ingress for a densely-packed Kubernetes cluster which hosts hundreds of thousands of websites.

Are there any case studies from companies that are operating at a similar scale? What are the factors I would need to consider when operating Traefik at this scale?

For context, here is the rough scale that I'm designing for:

- 200,000 HTTP routes, matching on Host
- Backed by ~1,000 Services
- Route configuration changes a few times every hour on average
- TLS is terminated by the CDN in front of this layer, so Traefik only needs a single SSL certificate to secure the connection from the CDN

To support this, I think we'd have ~1000 Ingress resources (1 per service). Each Ingress resource would have ~200 routes on average. There would be an Ingress resource changed every several minutes, but during maintenance operations we might experience a much higher rate of change.

---

<div class="post-metadata">

**Author:** ![9ed0d09c591b6972fa12](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/9ed0d09c591b6972fa12/32/6753_2.png) [@9ed0d09c591b6972fa12](https://community.traefik.io/u/9ed0d09c591b6972fa12)\
**Post date:** [March 10, 2023, 1:01pm UTC](https://community.traefik.io/t/scaling-traefik-to-hundreds-of-thousands-of-routes/17760/2 "2023-03-10T13:01:51Z")

</div>

Hey Michael,

Thank you for your message and your interest in Traefik!  
Concerning this particular request we have several use cases with large-scale usage to present to you. One of our teammates will contact you to go further on this topic with you.

Best  
Thomas
