Hacker News new | ask | show | jobs
by withinboredom 751 days ago
Caddy “uses” more ram because Go is a garbage collected language. It can free tons of it, but that costs cpu cycles. It generally won’t spend too much time freeing memory until the system is under pressure.

Because it’s Go, you can tune garbage collection to be super aggressive, at the expense of speed.

1 comments

Can you actually tune GC in Go though? As far as I'm aware, it's still abysmal at throughput optimization.
Yeah, you can tune it. There's a whole section in their docs about it.