3 ms·
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 free
by withinboredom 2y 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.
- neonsunset 2y agoCan you actually tune GC in Go though? As far as I'm aware, it's still abysmal at throughput optimization.
- withinboredom 2y agoYeah, you can tune it. There's a whole section in their docs about it.