Cloudflare
Cloudflare logoCloudflare · Feature trail

Go Garbage Collection Tuning

2 posts · Aug 2015 – Nov 2017

What this trail covers

Cloudflare's Go garbage collection tuning has evolved to optimize performance on multi-core machines by adjusting the GOGC variable. This post details how tuning GOGC can significantly improve throughput in scenarios with high allocation rates, such as benchmarks generating large amounts of short-lived data, leading to better performance scaling on many-core CPUs.

All Cloudflare trails