/plushcap/analysis/cloudflare/go-dont-collect-my-garbage

Go, don't collect my garbage

What's this blog post about?

The author of this text discusses their experience benchmarking the performance of Golang on a many-core machine. They initially ran into issues with garbage collection (GC) when running multiple goroutines, which led to excessive GC overhead and reduced performance. To address this issue, they experimented with adjusting the GOGC variable, eventually finding an optimal value that significantly improved performance. The author emphasizes the importance of understanding and tuning garbage collection in languages like Golang, especially as many-core CPUs become more common.

Company
Cloudflare

Date published
Nov. 13, 2017

Author(s)
Vlad Krasnov

Word count
1322

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.