3 ms·
> I'm curious if they tried the Ballast[0] approach From the essay, the issue discord had was that they were not triggering enough GCs. The ballast approach s
by masklinn 6y ago
> I'm curious if they tried the Ballast[0] approach
From the essay, the issue discord had was that they were not triggering enough GCs. The ballast approach serves to tune the GC frequency down.
In Discord's case they were getting screwed by a periodic mandatory GC trigger.
> along with smaller cache's per service
They did use a smaller cache, but that increased their 99% since… there was now less stuff in the cache.
- cfors 6y agoMakes me wonder what their partitioning strategy was. I can't imagine a cache that is over 4GB+ that couldn't be partitioned at least a bit further. But good call out, thank you for the correction.