Discord, the popular communication platform, has achieved a remarkable feat by expanding the capacity of a single server to support 15 million users, a significant leap from the previous limit of around 1 million users. (View Highlight)
The challenge began when the MidJourney serverâs growth threatened to surpass Discordâs established user limit per server. (View Highlight)
One of the critical issues encountered was a performance drop due to pathological garbage collection, which occurred when freeing small memory allocations outside the heap. The solution was to tune the virtual binary heap size, which allowed for the enabling of offload and significantly improved throughput. (View Highlight)
Note: When Discord was serving a lot of people, they noticed that the computer was slowing down when it tried to get rid of small pieces of memory. They fixed this problem by changing how much memory the computer used and it made things faster.