ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Caddy vs Nginx Performance

    IT Discussion
    4
    13
    8.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      VoIP_n00b
      last edited by

      Moving to Caddy would take less time then troubleshooting NGINX

      scottalanmillerS 1 Reply Last reply Reply Quote -1
      • scottalanmillerS
        scottalanmiller @VoIP_n00b
        last edited by

        @VoIP_n00b said in NGINX Just Stop Working:

        Moving to Caddy would take less time then troubleshooting NGINX

        Isn't that a lot slower for common workloads?

        V 1 Reply Last reply Reply Quote 0
        • V
          VoIP_n00b @scottalanmiller
          last edited by

          @scottalanmiller said in NGINX Just Stop Working:

          Isn't that a lot slower for common workloads?

          No.

          1 Reply Last reply Reply Quote -1
          • V
            VoIP_n00b
            last edited by

            @scottalanmiller https://caddy.community/t/performance-compared-to-nginx/7993/2

            scottalanmillerS 1 Reply Last reply Reply Quote -1
            • scottalanmillerS
              scottalanmiller @VoIP_n00b
              last edited by

              @VoIP_n00b said in NGINX Just Stop Working:

              @scottalanmiller https://caddy.community/t/performance-compared-to-nginx/7993/2

              That information is totally gibberish and shows that whoever wrote it knows literally nothing about programming or webservers. Their claim is that the performance is based on the language it is written in, which is not even slightly true. You can write a fast or slow server in nearly every language. And Go isn't the fastest language, just on the faster side.

              In third party measurements, I've seen Nginx listed at about 600% faster than Caddy where they are measuring, not just stating obviously false information.

              1 Reply Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller
                last edited by

                https://arstechnica.com/gadgets/2020/05/caddy-offers-tls-https-and-more-in-one-dependency-free-go-web-server/

                According to Ars.... not as easy to use as purported, and performance is close to Apache.

                1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller
                  last edited by scottalanmiller

                  Here's a random third party supposed benchmark... these match the Ars article where applicable and suggest that both are on the slow side compared to the fast servers.

                  https://http2benchmark.org/

                  Server Name Requests/sec Ratio
                  Apache 2.4.41 389.40 1.00X
                  Caddy 0.11.4 441.00 1.13X
                  H2o 2.2.6 721.90 1.85X
                  LiteSpeed 5.4.1 29159.00 74.95X
                  Nginx 1.16.1 3324.40 8.53X
                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Also worth noting, that if you are stuck with HTTP1.1 that Caddy calls to being the slowest option...

                    Compare HTTP/2 and HTTP/1.1 (with Keep-alive connections)

                    Server Name HTTP/2 HTTP/1.1 HTTP/2 vs HTTP/1.1
                    Apache 2.4.41 389.40 476.72 0.81X
                    Caddy 0.11.4 441.00 433.36 1.02X
                    H2o 2.2.6 721.90 621.08 1.16X
                    LiteSpeed 5.4.1 29159.00 14290.00 2.04X
                    Nginx 1.16.1 3324.40 3201.17 1.04X
                    1 Reply Last reply Reply Quote 0
                    • V
                      VoIP_n00b
                      last edited by

                      @scottalanmiller said in Caddy vs Nginx Performance:

                      Caddy 0.11.4

                      That's almost 2 year old! https://github.com/caddyserver/caddy/releases/tag/v0.11.4

                      scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @VoIP_n00b
                        last edited by

                        @VoIP_n00b said in Caddy vs Nginx Performance:

                        @scottalanmiller said in Caddy vs Nginx Performance:

                        Caddy 0.11.4

                        That's almost 2 year old! https://github.com/caddyserver/caddy/releases/tag/v0.11.4

                        Well until someone is doing a more up to date performance test, it's what we have to work with. All the others are majorly updated since then, as well. So all of them are likely quite a bit faster.'

                        There doesn't seem to be anything that I can find that suggests Caddy is fast. Fast enough, sure, in most cases. Competitive with Apache for sure. But if Nginx is being used for performance reasons, Caddy doesn't appear to be serving the same purpose. More of an Apache web server competitor than an Nginx proxy competitor.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @VoIP_n00b
                          last edited by

                          @VoIP_n00b said in Caddy vs Nginx Performance:

                          @scottalanmiller said in Caddy vs Nginx Performance:

                          Caddy 0.11.4

                          That's almost 2 year old! https://github.com/caddyserver/caddy/releases/tag/v0.11.4

                          Here are some current benchmarks linked from Caddy's website showing Nginx dramatically faster (and more stable under load.)

                          https://github.com/centminmod/centminmod-caddy-v2#caddy-vs-centmin-mod-nginx-http2-https-benchmarks

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            @scottalanmiller how dare you back talk his new shiny toy...

                            DustinB3403D 1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403 @JaredBusch
                              last edited by

                              @JaredBusch that's usually how shit talking works....

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post