Re:Why Discord is switching from Go to Rust
by staticassertion on Tuesday February 04, 2020 @02:09PM
(#22239674)
A) They had spent a lot of time optimizing the Go service
B) They weren't allocating a lot, and Go was enforcing a GC sweep every 2 minutes, and it was spending a lot of time on their LRU cache. To "reduce allocations" they had to cut their cache down, which negatively impacted latency.
B) They weren't allocating a lot, and Go was enforcing a GC sweep every 2 minutes, and it was spending a lot of time on their LRU cache. To "reduce allocations" they had to cut their cache down, which negatively impacted latency.