| ▲ | Someone 3 hours ago | |
> If you have a garbage collection problem my first intuition would be to produce less garbage! FTA: “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 spikes were huge not because of a massive amount of ready-to-free memory, but because the garbage collector needed to scan the entire LRU cache in order to determine if the memory was truly free from references” | ||