Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Traefik
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
waahhhh
May 20, 2019
Programming
0
440
Introduction to Traefik
Short introduction to Traefik in Version 1.
waahhhh
May 20, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
CSC307 Lecture 06
javiergs
PRO
0
690
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
300
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
130
Architectural Extensions
denyspoltorak
0
290
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
740
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
710
Raku Raku Notion 20260128
hareyakayuruyaka
0
320
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
AI巻き込み型コードレビューのススメ
nealle
2
390
組織で育むオブザーバビリティ
ryota_hnk
0
180
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
エンジニアに許された特別な時間の終わり
watany
106
230k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
The Spectacular Lies of Maps
axbom
PRO
1
520
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Transcript
Introduction to Traefik
AGENDA AGENDA About Traefik Common Misunderstandings Compared to Nginx Example
of use Using Docker & Docker-Compose Insight into V2
ABOUT TRAEFIK ABOUT TRAEFIK HTTP Reverse Proxy & Load Balancer
First commit: 2017-03 Written in Go Open to the community
ABOUT TRAEFIK ABOUT TRAEFIK HTTP Reverse Proxy & Load Balancer
COMMON MISUNDERSTANDINGS COMMON MISUNDERSTANDINGS It's not a webserver Has a
built-in webserver for error pages (But nothing more!)
COMPARED TO NGINX COMPARED TO NGINX Nginx Traefik Load Balancer
Reverse Proxy Webserver Supports TCP & FastCGI ¹ ¹ Traefik in Version 1.X
COMPARED TO NGINX COMPARED TO NGINX BENCHMARK BENCHMARK Source: Traefik
is obviously slower than Nginx, but not so much: Traefik can serve 28392 requests/sec and Nginx 33591 requests/sec which gives a ratio of 85%. Not bad for young project :) ! https://docs.traefik.io/v1.5/benchmarks
BENEFITS OF TRAEFIK BENEFITS OF TRAEFIK Nginx Traefik Let's Encrypt
Docker Kubernetes Dashboard Dynamic Configuration
EXAMPLE OF USE EXAMPLE OF USE Live demo!
docker-compose.yml version: "3.7" services: traefik: image: traefik:alpine ports: - "80:80"
labels: - "traefik.frontend.rule=Host:traefik.localtest.me" - "traefik.port=8080" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./traefik.toml:/etc/traefik/traefik.toml 1 2 3 4 5 6 7 8 9 10 11 12 13
traefik.toml defaultEntryPoints = ["http"] [entryPoints] [entryPoints.http] address = ":80" [docker]
endpoint = "unix:///var/run/docker.sock" watch = true exposedByDefault = true swarmMode = false [api] entryPoint = "traefik" adress = ":8080" dashboard = true 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
docker-compose.yml whoami: image: emilevauge/whoami labels: - "traefik.frontend.rule=Host:whoami.localtest.me" 1 2 3
4
INSIGHT INTO V2 INSIGHT INTO V2 TCP Middlewares...
THANK YOU! THANK YOU! Slack: Blog: Github: Tutorials: https://slack.traefik.io https://blog.containo.us
https://github.com/containous/traefik Github: Awesome-Traefik
WORKAROUND FOR FASTCGI WORKAROUND FOR FASTCGI https://github.com/containous/traefik/issues/753