3 ms·
The GC changes in 1.12 supposedly target large heaps, which is not Discord's situation.
by kerkeslager 7y ago
The GC changes in 1.12 supposedly target large heaps, which is not Discord's situation.
- dilyevsky 7y agoThis post needed a lot more depth to really understand what was going on. Statements like > During garbage collection, Go has to do a lot of work to determine what memory is free, which can slow the program down. read like blogospam to me (which it is). For comparison sake - similar post from Twitch has a lot more technical detail and generally makes me view their team in a lot better light than Dicord’s after reading both.
- lostcolony 7y agoReally? My take was that it was. They mention a bunch of cached data, that rarely got ejected (so not generating a lot of garbage), but that took a long time to traverse (so when GC DID occur, it took a long time), which implies it being large.