9 karma · joined Dec 2, 2019 (6y ago) · 6 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
> These latency spikes definitely smelled like garbage collection performance impact, but we had written the Go code very efficiently and had very few allocations. We were not creating a lot of garbage.
The problem was due to the GC scanning all of their allocated memory and taking a long time to do so, regardless of it all being necessary and valid memory usage.