Nginx vs. Envoy performance benchmark

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

ความคิดเห็น • 34

  • @AntonPutra
    @AntonPutra  ปีที่แล้ว +1

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @HalilKacmaz-dq1bc
    @HalilKacmaz-dq1bc ปีที่แล้ว +4

    it is good to have cpu metrics, but specifically these two LB are network intensive applications, so network bandwidth are important, if you run the test on the same time, that is not fair, you need to run separately and one machine to other machine even on virtual network, running the test on same machine while running the nginx and envoy is not representing the real scenerio, and cpu is less expensive then memory so I would rather measure memory usage while running tests. Thanks appreciated for this effort, really good setup.

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      Thanks, noted

    • @TheHardWorkingDollar
      @TheHardWorkingDollar 11 หลายเดือนก่อน +1

      I’m glad you said this.
      I’ve been on the internet for a long time and watched a lot of videos with benchmarks.
      I never expected to see one where two different proxies were run on the same server in the same test.
      Good lessons here for how I’ll improve in the test plan.

  • @RafaelDurelli
    @RafaelDurelli ปีที่แล้ว +7

    I dig all your videos. Suggestions, could you please make one video comparing spring boot and Quarkus? Thanks :) ❤❤❤❤🎉🎉🎉🎉

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      sure i can =)

    • @RafaelDurelli
      @RafaelDurelli ปีที่แล้ว

      @@AntonPutra looking forward for watching it :)

  • @oliver-jamesmassam8077
    @oliver-jamesmassam8077 ปีที่แล้ว +2

    Very interesting results across your series. I would like to see your analysis of Apache APISIX. Seems like a very appealing option and they make some very high-performance claims on their home page. Keep up the awesome work!

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      Thanks! Sure, will do!

  • @KresnaPermana
    @KresnaPermana ปีที่แล้ว +1

    Thank you for bringing this content! this is very insightful

  • @guoard
    @guoard 8 หลายเดือนก่อน +1

    Thank you for your content. Could you compare Nginx with HAProxy, and Traefik with Kong?

    • @AntonPutra
      @AntonPutra  8 หลายเดือนก่อน +1

      my pleasure, sure I'll put it in my list

  • @komlaadzam4289
    @komlaadzam4289 หลายเดือนก่อน +1

    Came here after the Netflix incident... interesting

    • @AntonPutra
      @AntonPutra  หลายเดือนก่อน

      haha, it's old i'm about to refresh it

    • @komlaadzam7918
      @komlaadzam7918 หลายเดือนก่อน

      @@AntonPutra Yeah would be cool to see....😃

  • @fburon_
    @fburon_ ปีที่แล้ว +1

    Nice video, thanks!

  • @kamurashev
    @kamurashev ปีที่แล้ว +1

    I have never heard of Envoy. Now I know. Thank for video!

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +3

      It is a proxy used in the Istio service mesh. It was used in linkerd as well for a while, but then they decided to build their own based on rust.

    • @MrLayup
      @MrLayup ปีที่แล้ว

      @@AntonPutra, it's also the consul connect proxy.

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      @@MrLayup good to know, thanks

  • @buldezir
    @buldezir ปีที่แล้ว

    Hi Anton, awesome benchs!
    Can i request also tricky comparison of "nginx-unit php app" (i can help with setting up docker image and code) vs nodejs app?

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      Thanks, sure if you can send me an example would be great

  • @Praneethtt
    @Praneethtt ปีที่แล้ว +1

    btw cool animation how did u achieve that wonder!

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      Thanks, after effects and illustrator

  • @reactoranime
    @reactoranime ปีที่แล้ว

    Need to compare OpenLiteSpeed, sound like it is much faster also supports Http3

  • @robdAK
    @robdAK ปีที่แล้ว

    Would you say Envoy would ever be a better web server/reverse proxy than Nginx? Envoy seems better suited to be service mesh or sidecar and also exposes more metrics than Nginx, but like you show here by default Nginx will always be better reverse proxy or webserver.

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      Well, based on my experience, it was built to be programmatically configured. One main use case is to be part of the service mesh. On the other hand, Linkerd was using it for a while and then dropped it in favor of an in-house built proxy in Rust, which is even more efficient and faster. Also, there are sidecar-less service meshes such as Cilium, which make Envoy obsolete.

  • @kiddkai
    @kiddkai 8 หลายเดือนก่อน

    The envoy config is confusing af. Nginx’s config dsl is much simpler to reason abt

    • @AntonPutra
      @AntonPutra  8 หลายเดือนก่อน

      yeah i know :)

  • @Babbili
    @Babbili ปีที่แล้ว

    So if i use gRPC i'd use Envoy

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      realistically you would choose istio or linkerd and whatever they use under the hood

  • @diooktarovelino3546
    @diooktarovelino3546 ปีที่แล้ว

    Nginx vs Caddy ?