Performance optimizations: One step forward, ten steps back

added by DotNetKicks
4/11/2017 9:10:00 AM

2 Kicks, 291 Views

The live above is responsible for releasing our threads when the I/O operation has completed. Note that it needs to run on the thread pool as well, but because we are now much faster, we now have a lot of threads that are stuck in the call to SyncEnvironment, that overloaded the thread pool, and meant that the notification that we can proceed would come very late.