Caddy vs Nginx Performance
-
Moving to Caddy would take less time then troubleshooting NGINX
-
@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?
-
-
-
@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.
-
According to Ars.... not as easy to use as purported, and performance is close to Apache.
-
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.
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 -
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 -
@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
-
@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.
-
@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
-
@scottalanmiller how dare you back talk his new shiny toy...
-
@JaredBusch that's usually how shit talking works....