News for hackers. Stuff that matters.
Re:Caddy – Open-source web server with automatic HTTPS by pachico on Monday November 29, 2021 @11:57AM (#29382115)
Can't think of any situations I was involved where the bottleneck was the http server app rather than the application behind it. Am I the only one?
Re:Caddy – Open-source web server with automatic HTTPS by PragmaticPulp on Monday November 29, 2021 @12:01PM (#29382161)
If you’re only serving up heavyweight web apps, then this is probably true.

But Caddy also markets itself as an efficient static file webserver right on the home page:

> Caddy is both a flexible, efficient static file server and a powerful, scalable reverse proxy.

Perhaps the confusing part is the way that Caddy is marketed as “The Ultimate Server” when instead it’s designed to be a fast-enough reverse proxy for applications where performance doesn’t matter. There are many applications where performance really does matter. Static file serving is the most obvious example.

Re:Caddy – Open-source web server with automatic HTTPS by throwaway894345 on Monday November 29, 2021 @12:12PM (#29382309)
> There are many applications where performance really does matter.

Like what? Genuine question. I'm sure a cloud provider's layer 7 load balancer / Kubernetes Ingress would merit an optimized implementation but beyond those kinds of super-scale use cases I can't think of much.

Re:Caddy – Open-source web server with automatic HTTPS by Bayart on Monday November 29, 2021 @12:12PM (#29382308)
As the other person that answered to you pointed out, there's a point where your HTTP server becomes the bottleneck, ie your backend being more concurrent and faster at producing content than your server is at delivering it.

But I feel the real bottleneck is developer pain. I switched to nginx from Apache like everyone else because nginx was nice to use and Apache wasn't. The performance aspect was only a rationalization.

Re:Caddy – Open-source web server with automatic HTTPS by mekster on Monday November 29, 2021 @08:13PM (#29387576)
What was not so nice about Apache?

Mentioning without context sounds like an emotional one.

Re:Caddy – Open-source web server with automatic HTTPS by Bayart on Tuesday November 30, 2021 @04:50AM (#29390511)
I found Apache configuration to be cumbersome and hard to read, with nginx being comparatively clean and making reverse-proxying and caching easy. Keep in mind that was other a decade ago. I don't know where Apache is now, it's not something I have reassessed and I don't know if I would make the same choices with my current experience.
Re:Caddy – Open-source web server with automatic HTTPS by rampointerhater on Monday November 29, 2021 @12:08PM (#29382258)
No. But looking at the site Caddy appears to be a product for easy and quick deployment, so that zero-knowledge people can run a web server. Their point is unlikely to be performance, it is probably in the lines of "low code".