News for hackers. Stuff that matters.
Re:Caddy 0.9 Released with All New Core by electic on Tuesday July 19, 2016 @03:28AM (#12120333)
How does this compare to NGINX? Especially around performance and security?
Re:Caddy 0.9 Released with All New Core by hacksonx on Tuesday July 19, 2016 @04:06AM (#12120489)
I would refer you to this https://caddyserver.com/docs/faq for a detailed break down of that. The second points answers your question with the stand out point for me being that Candy focuses on use for static files. Also, it serves all pages via HTTPS by default.
Re:Caddy 0.9 Released with All New Core by spriggan3 on Tuesday July 19, 2016 @05:13AM (#12120706)
NGINX is a battle tested C high performances general purpose server, while Caddy looks more like a collection of diverse Go libraries bundled together. I don't see a lot of protocols implemented by Caddy itself. There is also the question of Go garbage collector performance and its over head, there is no GC pauses with C.

This is a great project though, the author is young and talented.

Re:Caddy 0.9 Released with All New Core by ffggvv on Tuesday July 19, 2016 @05:49AM (#12120815)
> There is also the question of Go garbage collector performance and its over head, there is no GC pauses with C.

Malloc/free are not cheap either.

Re:Caddy 0.9 Released with All New Core by spriggan3 on Tuesday July 19, 2016 @06:12AM (#12120878)
> Malloc/free are not cheap either.

They are still way cheaper than GC pauses in Go.

Re:Caddy 0.9 Released with All New Core by SEJeff on Tuesday July 19, 2016 @10:50AM (#12122098)
The Go GC with 1.5+ (and especially the work going on currently for 1.7) makes it all but unnoticeable for the majority of non-soft realtime (think HFT) systems:

https://talks.golang.org/2015/go-gc.pdf

For 99% of users, it is simply not noticeable anymore. Also note that I've worked at said HFT nanosecond latency types of firms the past 9 or so years.