Traefik vs. Nginx performance benchmark

  Рет қаралды 38,678

Anton Putra

Anton Putra

Күн бұрын

🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
► LinkedIn: / anton-putra
► Twitter/X: / antonvputra
► GitHub: github.com/antonputra
► Email: me@antonputra.com
▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
👉 [Playlist] Network Tutorials: • Network Tutorials
👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
👉 [Playlist] Database Tutorials: • Database Tutorials
▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬
► GitHub: github.com/antonputra/tutoria...
#Nginx #Traefik #DevOps

Пікірлер: 77
@AntonPutra
@AntonPutra Жыл бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@Openspeedtest
@Openspeedtest Жыл бұрын
This is why Nginx is the undisputed King for superior performance with minimum resource utilization.
@AntonPutra
@AntonPutra Жыл бұрын
For now =)
@tcurdt
@tcurdt Жыл бұрын
and the configuration is less of a nightmare the traefik config is
@nikolas4786
@nikolas4786 Жыл бұрын
And security nginx is the best
@altairbueno5637
@altairbueno5637 Жыл бұрын
Until pingora arrived
@tcurdt
@tcurdt Жыл бұрын
@@altairbueno5637 AFAIU it hasn't been open sourced yet. Or did I miss that?
@javohirmirzo
@javohirmirzo Жыл бұрын
recently i started getting your videos recommended. they are very interesting indeed. keep up the good work!
@AntonPutra
@AntonPutra Жыл бұрын
Thanks Javohir!
@yabokunokami8418
@yabokunokami8418 Жыл бұрын
Your videos are really great. Keep up the good work!🔥
@AntonPutra
@AntonPutra Жыл бұрын
Thanks, will do!
@blender_wiki
@blender_wiki 5 ай бұрын
The best, or even the only real, comparison video I found on yt. 🙏🙏🙏 Nice testing protcol.
@wanarchives
@wanarchives 5 ай бұрын
yeah, his video is mind blown to me, i never seen any utuber does benchmarck like this guy....super nice
@samelie
@samelie Жыл бұрын
Thank you for sharing these well designed tests - am learning a lot!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@danielviloria5675
@danielviloria5675 Жыл бұрын
Te amo, este es el tipo de preguntas que quería resolver
@AntonPutra
@AntonPutra Жыл бұрын
you're welcome =)
@kingsathurthi
@kingsathurthi Жыл бұрын
Very interesting to see the performance difference, thanks for making this video
@AntonPutra
@AntonPutra Жыл бұрын
No problem!
@AntonPutra
@AntonPutra Жыл бұрын
❤Go (Golang) vs Node JS (Microservices) performance benchmark - kzfaq.info/get/bejne/pNp9frGdqrmnoIE.html ❤Go (Golang) vs. Rust: (HTTP/REST API in Kubernetes) Performance Benchmark - kzfaq.info/get/bejne/h718rKxz0KjWnGQ.html ❤AWS Lambda Go vs. Rust performance benchmark - kzfaq.info/get/bejne/rd-IfKRkzcy0aGw.html ❤AWS Lambda Go vs. Node.js performance benchmark - kzfaq.info/get/bejne/obBkmsmgyp3LgIU.html ❤AWS Lambda Python vs. Node.js performance benchmark - kzfaq.info/get/bejne/eMV_gsyem77WeWg.html
@alt404s
@alt404s Жыл бұрын
I just want to say thank you for these very interesting videos. I want you to know that you've been helping me improve in my career and get better jobs. Thank you sir! (I'm subbed!)
@AntonPutra
@AntonPutra Жыл бұрын
Thank you KWKOPS!
@Nick-yd3rc
@Nick-yd3rc Жыл бұрын
Thanks, really like your videos. Would appreciate a comparison with haproxy next time
@AntonPutra
@AntonPutra Жыл бұрын
Thanks, got it
@altverskov
@altverskov Жыл бұрын
Great video!
@AntonPutra
@AntonPutra Жыл бұрын
Thanks!
@LampJustin
@LampJustin Жыл бұрын
Does anyone know how an envoy based reverse proxy compares? I think of something like contour
@mikolajsemeniuk8574
@mikolajsemeniuk8574 Жыл бұрын
🚀🔥❤
@AntonPutra
@AntonPutra Жыл бұрын
😊
@picatchumm64
@picatchumm64 Жыл бұрын
Hi, Thanks, I like your videos. Would appreciate a comparison with Traefik vs Caddy 2 next time
@AntonPutra
@AntonPutra Жыл бұрын
Sure
@Phyx1u5
@Phyx1u5 Жыл бұрын
Thanks for the video. I do like traefik for the simple fact it's a bit more noob friendly when using with kubernetes
@AntonPutra
@AntonPutra Жыл бұрын
yaml friendly =)
@---tr9qg
@---tr9qg 11 ай бұрын
It was .... deep and pro 🔥🔥🔥
@AntonPutra
@AntonPutra 10 ай бұрын
Thanks! Appreciate it!
@dgjtf
@dgjtf Жыл бұрын
great! would like to see benchmark about envoy proxy
@AntonPutra
@AntonPutra Жыл бұрын
Coming soon!
@kamurashev
@kamurashev Жыл бұрын
Interesting, I used apache (httpd) as a reverse proxy, historically mostly, interesting how would it compare. And such surprising results for grpc, I would never guess it can be this way. Although I’m wandering wether the actual backend service implementation could affect the results somehow. Don’t see any legitimate reason for proxies to behave this way. I can see the request time much longer for grpc, so longer lasting connections could possibly consume more resources on the proxy side. It seems the answer may be in the app. I think so. Backend analysis might help to figure out. Although in general I surprised how poorly the grpc system behaves. I thought it’s kinda the holy grail for the low latency systems. I would definitely appreciate more in depth analysis of the topic.
@AntonPutra
@AntonPutra Жыл бұрын
Thanks Kyrylo for the feedback. I'll try to figure it out.
@user-zg2bx5cb3d
@user-zg2bx5cb3d Жыл бұрын
Годно, спасибо! Было очевидно, что nginx - это слишком мощный и хорошо написанный инструмент, повторить его результаты на языках с gc почти невозможно. Буду использовать это видео как аргумент 😊
@AntonPutra
@AntonPutra Жыл бұрын
pojalusta, hochu s linkerd proxu sravnit, govoryat bistry :)
@user-zg2bx5cb3d
@user-zg2bx5cb3d Жыл бұрын
@@AntonPutra буду ждать такое сравнение, подпишусь, чтоб не пропустить)
@AntonPutra
@AntonPutra Жыл бұрын
@@user-zg2bx5cb3d ))
@Taurdil
@Taurdil Жыл бұрын
When you say "HTTP/1" here do you really mean 1.0 without keepalive or 1.1 with keepalive? And from the client perspective, do we actually close socket each time?
@AntonPutra
@AntonPutra Жыл бұрын
They both support keepalive, not sure about the latter
@nootajay
@nootajay Жыл бұрын
How is traefik different from envoyproxy? I know it's a fork of envoy but is it designed for edge proxy?
@AntonPutra
@AntonPutra Жыл бұрын
Can you send a link?
@JRRRRRRRRRRR
@JRRRRRRRRRRR 3 ай бұрын
Great video, thank you :) Could I consider the NGINX performance the same as the NGINX Proxy Manager (NPM)?
@AntonPutra
@AntonPutra 3 ай бұрын
Based on the description of the project, yes, they don't 'enhance' code functionality, mainly TLS.
@SheeceGardazi
@SheeceGardazi 2 ай бұрын
gg
@AntonPutra
@AntonPutra 2 ай бұрын
🫡
@xentricator
@xentricator Жыл бұрын
Isn't using burstable vms a bad idea to do these kind of tests? You don't really have any control over when the VM bursts or not.
@AntonPutra
@AntonPutra Жыл бұрын
I ran this test at least 4 times (creating and deleting vms), each time result was the same.
@xentricator
@xentricator Жыл бұрын
@@AntonPutra I think this is maybe due to the k6 load test being pretty simple (x amount of users for y time without any fluctation or ramp up and downs which could result in more bursty workloads instead of pegging the cpu in a pretty constant way). You should watch out in future videos when trying to create more advanced scenarios in combination with burstable vms. To be clear, I am not trying to undermine your testing methodology, I really like your videos.
@AntonPutra
@AntonPutra Жыл бұрын
@@xentricator Thanks, I'll keep it in mind
@Davidlavieri
@Davidlavieri Жыл бұрын
Certainly, even with "unlimited" cpu credits (t3 default) it still throttles the CPU, should be ran in compute instances to see the difference and if it does affect the result
@sunilkumar-xp7jz
@sunilkumar-xp7jz Ай бұрын
Traefik API GW Installation guide, websocket support required 💐
@AntonPutra
@AntonPutra Ай бұрын
ok
@stephen.cabreros
@stephen.cabreros Ай бұрын
what benchmarking platform do you use?
@AntonPutra
@AntonPutra Ай бұрын
In that specific case, I used AWS and t3a.small instances. I ran tests multiple times (creating new EC2 instances each time) with the same results. github.com/antonputra/tutorials/blob/main/lessons/144/terraform/10-traefik-ec2.tf#L3 github.com/antonputra/tutorials/blob/main/lessons/144/terraform/11-nginx-ec2.tf#L3
@stephen.cabreros
@stephen.cabreros Ай бұрын
@@AntonPutra thanks bro, that monitoring with traffic and latency graph is it part of aws service or another platform too?
@AntonPutra
@AntonPutra Ай бұрын
@@stephen.cabreros It's open source prometheus and grafana, i have all components and dashboards in my repo just in case you want to reproduce
@stephen.cabreros
@stephen.cabreros Ай бұрын
@@AntonPutra ok I'll check it, thank you for this
@KVS797
@KVS797 Ай бұрын
Please try Pingora
@AntonPutra
@AntonPutra Ай бұрын
ok i'll take a look
@yuryzhuravlev2312
@yuryzhuravlev2312 Жыл бұрын
nginx drop requests because can process more, but OS didn't give enough resources - you should change the limits.
@AntonPutra
@AntonPutra Жыл бұрын
you mean file descriptors? to much customization, prefer to use defaults for tests..
@incseven
@incseven Жыл бұрын
@@AntonPutra default value of worker_connections is smth about 768 (multiple by number of CPU for default value "worker_processes auto")
@user-iz7lf9wm3i
@user-iz7lf9wm3i Жыл бұрын
kupil tesla?
@AntonPutra
@AntonPutra Жыл бұрын
in last march, they dropped 15k today :(
@user-dz6il2bx5p70
@user-dz6il2bx5p70 Жыл бұрын
So Go sucks?
@AntonPutra
@AntonPutra Жыл бұрын
Not at all. It's great for beginners and easy to find implementation for anything you're trying to solve.
@jonnyd6087
@jonnyd6087 Жыл бұрын
​@@AntonPutra great for beginners!? Nginx is c/c++ golang isn't competing with a behemoth like that! Otherwise golang is killer.
@tjhinwenchiang1997
@tjhinwenchiang1997 Жыл бұрын
are you half-indonesian ?
@AntonPutra
@AntonPutra Жыл бұрын
Nope =)
Apache vs. Nginx performance benchmark
4:59
Anton Putra
Рет қаралды 13 М.
Is this the BEST Reverse Proxy for Docker? // Traefik Tutorial
21:57
Christian Lempa
Рет қаралды 506 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 8 МЛН
Go (Golang) vs Java: Performance Benchmark
6:30
Anton Putra
Рет қаралды 82 М.
Traefik Crash Course (Without docker)
57:13
Hussein Nasser
Рет қаралды 48 М.
Goodbye javascript (for now)
14:57
Web Dev Cody
Рет қаралды 68 М.
How to debug Kubernetes? (Deployments, Services & Ingress)
18:45
Distributed load testing with k6 - Thijs Feryn - NDC London 2024
45:37
Configure NGINX as a Reverse Proxy
16:43
NGINX
Рет қаралды 208 М.
Remotely access and share your self-hosted services
18:05
Tailscale
Рет қаралды 58 М.
Secure authentication for EVERYTHING! // Authentik
39:50
Christian Lempa
Рет қаралды 139 М.
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 530 М.
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 474 М.
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 715 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18