News for hackers. Stuff that matters.
Re:FrankenPHP: Modern PHP App Server by withinboredom on Thursday May 30, 2024 @02:45AM (#40520842)
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.

Re:FrankenPHP: Modern PHP App Server by neonsunset on Thursday May 30, 2024 @05:06PM (#40528718)
Can you actually tune GC in Go though? As far as I'm aware, it's still abysmal at throughput optimization.
Re:FrankenPHP: Modern PHP App Server by withinboredom on Friday May 31, 2024 @03:22AM (#40532319)
Yeah, you can tune it. There's a whole section in their docs about it.