News for hackers. Stuff that matters.
Re:35M Hot Dogs: Benchmarking Caddy vs. Nginx by jiripospisil on Friday September 16, 2022 @10:30AM (#32866498)
I'm impressed with Caddy's performance. I was expecting it to fall behind mainly due to the fact it's written in Go but apparently not. It's a bit disappointing that it's slower in reverse proxying, as that's one of the most important use cases, but now that it's identified maybe they can make some improvements. Finally, there really should be a max memory / max connections setting (maybe there is?).
Re:35M Hot Dogs: Benchmarking Caddy vs. Nginx by zekica on Friday September 16, 2022 @11:42AM (#32867656)
Goroutines are efficient enough, and Go compiles to native code. I'm sure that Rust/Tokio or handcrafted C can be faster, but I think Go is fast enough for 99% of use cases.

I'm building a service manager à la systemd in Go as a side project, and I really like it - it's not as low level as Rust and has a huge runtime but it is impressively fast.

Re:35M Hot Dogs: Benchmarking Caddy vs. Nginx by pjmlp on Friday September 16, 2022 @12:06PM (#32868120)
I am not a big fan of Go's design, however that is exactly one reason I tend to argue for it.

There is enough juice in compiled managed languages that expose value types and low level features, it is a matter to learn how to use the tools on the toolbox instead of taking always the hammer out.

Re:35M Hot Dogs: Benchmarking Caddy vs. Nginx by shabbatt on Friday September 16, 2022 @12:13PM (#32868245)
The only reason for me to consider Caddy was reverse proxy. Now that reason is gone and I'm happy with nginx