Traefik vs. Nginx performance benchmark

  Рет қаралды 50,693

Anton Putra

Anton Putra

Күн бұрын

Пікірлер: 86
@AntonPutra
@AntonPutra Жыл бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@Openspeedtest
@Openspeedtest 2 жыл бұрын
This is why Nginx is the undisputed King for superior performance with minimum resource utilization.
@AntonPutra
@AntonPutra 2 жыл бұрын
For now =)
@tcurdt
@tcurdt 2 жыл бұрын
and the configuration is less of a nightmare the traefik config is
@nikolas4786
@nikolas4786 2 жыл бұрын
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 2 жыл бұрын
recently i started getting your videos recommended. they are very interesting indeed. keep up the good work!
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks Javohir!
@blender_wiki
@blender_wiki 11 ай бұрын
The best, or even the only real, comparison video I found on yt. 🙏🙏🙏 Nice testing protcol.
@wanarchives
@wanarchives 10 ай бұрын
yeah, his video is mind blown to me, i never seen any utuber does benchmarck like this guy....super nice
@kingsathurthi
@kingsathurthi 2 жыл бұрын
Very interesting to see the performance difference, thanks for making this video
@AntonPutra
@AntonPutra 2 жыл бұрын
No problem!
@danielviloria5675
@danielviloria5675 Жыл бұрын
Te amo, este es el tipo de preguntas que quería resolver
@AntonPutra
@AntonPutra Жыл бұрын
you're welcome =)
@yabokunokami8418
@yabokunokami8418 2 жыл бұрын
Your videos are really great. Keep up the good work!🔥
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks, will do!
@AntonPutra
@AntonPutra 2 жыл бұрын
❤Go (Golang) vs Node JS (Microservices) performance benchmark - kzbin.info/www/bejne/pKWwfIGierh2pq8 ❤Go (Golang) vs. Rust: (HTTP/REST API in Kubernetes) Performance Benchmark - kzbin.info/www/bejne/h4ivqnx4oKelopI ❤AWS Lambda Go vs. Rust performance benchmark - kzbin.info/www/bejne/raq7enRpncuDbpo ❤AWS Lambda Go vs. Node.js performance benchmark - kzbin.info/www/bejne/oXuXmJmlmpyahrM ❤AWS Lambda Python vs. Node.js performance benchmark - kzbin.info/www/bejne/eJCygJyja72lf5Y
@samelie
@samelie Жыл бұрын
Thank you for sharing these well designed tests - am learning a lot!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@Nick-yd3rc
@Nick-yd3rc 2 жыл бұрын
Thanks, really like your videos. Would appreciate a comparison with haproxy next time
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks, got it
@КириллКириллович
@КириллКириллович Жыл бұрын
Годно, спасибо! Было очевидно, что nginx - это слишком мощный и хорошо написанный инструмент, повторить его результаты на языках с gc почти невозможно. Буду использовать это видео как аргумент 😊
@AntonPutra
@AntonPutra Жыл бұрын
pojalusta, hochu s linkerd proxu sravnit, govoryat bistry :)
@КириллКириллович
@КириллКириллович Жыл бұрын
@@AntonPutra буду ждать такое сравнение, подпишусь, чтоб не пропустить)
@AntonPutra
@AntonPutra Жыл бұрын
@@КириллКириллович ))
@picatchumm64
@picatchumm64 2 жыл бұрын
Hi, Thanks, I like your videos. Would appreciate a comparison with Traefik vs Caddy 2 next time
@AntonPutra
@AntonPutra 2 жыл бұрын
Sure
@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!
@kamurashev
@kamurashev 2 жыл бұрын
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 2 жыл бұрын
Thanks Kyrylo for the feedback. I'll try to figure it out.
@altverskov
@altverskov 2 жыл бұрын
Great video!
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks!
@dgjtf
@dgjtf 2 жыл бұрын
great! would like to see benchmark about envoy proxy
@AntonPutra
@AntonPutra 2 жыл бұрын
Coming soon!
@Phyx1u5
@Phyx1u5 2 жыл бұрын
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 2 жыл бұрын
yaml friendly =)
@Taurdil
@Taurdil 2 жыл бұрын
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 2 жыл бұрын
They both support keepalive, not sure about the latter
@---tr9qg
@---tr9qg Жыл бұрын
It was .... deep and pro 🔥🔥🔥
@AntonPutra
@AntonPutra Жыл бұрын
Thanks! Appreciate it!
@LampJustin
@LampJustin Жыл бұрын
Does anyone know how an envoy based reverse proxy compares? I think of something like contour
@mikolajsemeniuk8574
@mikolajsemeniuk8574 Жыл бұрын
🚀🔥❤
@AntonPutra
@AntonPutra Жыл бұрын
😊
@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 9 ай бұрын
Great video, thank you :) Could I consider the NGINX performance the same as the NGINX Proxy Manager (NPM)?
@AntonPutra
@AntonPutra 9 ай бұрын
Based on the description of the project, yes, they don't 'enhance' code functionality, mainly TLS.
@nikitat6750
@nikitat6750 3 ай бұрын
02:11 там фраза «то есть»?)
@AntonPutra
@AntonPutra 3 ай бұрын
? :)
@xentricator
@xentricator 2 жыл бұрын
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 2 жыл бұрын
I ran this test at least 4 times (creating and deleting vms), each time result was the same.
@xentricator
@xentricator 2 жыл бұрын
@@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 2 жыл бұрын
@@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 7 ай бұрын
Traefik API GW Installation guide, websocket support required 💐
@AntonPutra
@AntonPutra 7 ай бұрын
ok
@stephen.cabreros
@stephen.cabreros 7 ай бұрын
what benchmarking platform do you use?
@AntonPutra
@AntonPutra 7 ай бұрын
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 7 ай бұрын
@@AntonPutra thanks bro, that monitoring with traffic and latency graph is it part of aws service or another platform too?
@AntonPutra
@AntonPutra 7 ай бұрын
@@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 7 ай бұрын
@@AntonPutra ok I'll check it, thank you for this
@yuryzhuravlev2312
@yuryzhuravlev2312 2 жыл бұрын
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")
@KVS797
@KVS797 7 ай бұрын
Please try Pingora
@AntonPutra
@AntonPutra 7 ай бұрын
ok i'll take a look
@Яслежузатобой-щ7б
@Яслежузатобой-щ7б 2 жыл бұрын
kupil tesla?
@AntonPutra
@AntonPutra 2 жыл бұрын
in last march, they dropped 15k today :(
@John-vm7fq
@John-vm7fq 3 ай бұрын
Nginx vs Pingora
@AntonPutra
@AntonPutra 3 ай бұрын
will do!
@Hohmlec
@Hohmlec 4 ай бұрын
Nginx vs pingora
@AntonPutra
@AntonPutra 4 ай бұрын
noted!
@SheeceGardazi
@SheeceGardazi 8 ай бұрын
gg
@AntonPutra
@AntonPutra 8 ай бұрын
🫡
@nicholaschin97
@nicholaschin97 Жыл бұрын
are you half-indonesian ?
@AntonPutra
@AntonPutra Жыл бұрын
Nope =)
@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.
@TheLovealien
@TheLovealien 3 ай бұрын
@@AntonPutra Tell that to Google, Docker and all the other companies that use Go on a massive scale
Apache vs. Nginx performance benchmark
4:59
Anton Putra
Рет қаралды 16 М.
Nginx vs Traefik Performance (Reverse Proxy)
13:18
Anton Putra
Рет қаралды 31 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
did i just finish my reverse proxy?????
12:55
ThePrimeTime
Рет қаралды 65 М.
FastAPI vs Go (Golang) vs Node.js: Performance & Price
13:12
Anton Putra
Рет қаралды 16 М.
How to Build Effective AI Agents (without the hype)
24:27
Dave Ebbelaar
Рет қаралды 11 М.
Nginx vs Caddy Performance
15:27
Anton Putra
Рет қаралды 34 М.
Redis vs Memcached Performance Benchmark
8:44
Anton Putra
Рет қаралды 34 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
MongoDB vs. PostgreSQL: Performance & Functionality
14:35
Anton Putra
Рет қаралды 35 М.
Cloudflare is moving away from NGINX | The Backend Engineering Show
25:15
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН