|
|
|
|
|
by iamvik
60 days ago
|
|
I don't understand why they felt necessary to rewrite a core component in another language. If you have a garbage collection problem my first intuition would be to produce less garbage! For example better using the stack, or pulling out the big gun of manual memory management. I'm sure they had reasons to choose Go when they first designed this project but they don't go into them at all. Feels like they just wanted to play with a new toy. |
|
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”