Sociomantic/Discord GC experience
Jon Degenhardt
jond at noreply.com
Tue Mar 31 22:01:19 UTC 2020
On Tuesday, 31 March 2020 at 21:26:41 UTC, Joseph Rushton
Wakeling wrote:
> On Monday, 30 March 2020 at 18:12:03 UTC, Steven Schveighoffer
> wrote:
>> Sociomantic avoids unpredictable GC cycles, but doesn't
>> disable it (they still allow collections periodically IIRC).
>> And they are built to be as fast as possible.
>
> There were apps where a single GC cycle was not really an
> option, because even a small GC pause would delay our
> responding to requests where we couldn't afford the delay. But
> the solution was not really _that_ hard: be strict about using
> recyclable buffers and object pools, preallocate in advance so
> that there would be minimal resizing ... and then be really
> strict about keeping that policy.
This is a very useful summary of Sociomantic's experience, thanks
for taking the time to write it up and post it. The Discord blog
post was a good read too.
More information about the Digitalmars-d
mailing list