Go, don't collect my garbage
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
Language
English
Hacker News points
272