You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A service we have in production using EventFlow started exhibiting 100% CPU hangs periodically.
We have identified that this happens due to concurrent, not synchronized, access to the dictionaries used in ReadModelSqlGenerator. A single instance of this class is shared between all threads and requests.
This call stack (redacted) was found on multiple threads in a hang dump taken from the process:
Replacing the dictionaries in the ReadModelSqlGenerator with ConcurrentDictionary<,> should fix this issue. I intend to provide a pull request for this shortly.
The text was updated successfully, but these errors were encountered:
A service we have in production using EventFlow started exhibiting 100% CPU hangs periodically.
We have identified that this happens due to concurrent, not synchronized, access to the dictionaries used in
ReadModelSqlGenerator
. A single instance of this class is shared between all threads and requests.This call stack (redacted) was found on multiple threads in a hang dump taken from the process:
Replacing the dictionaries in the
ReadModelSqlGenerator
withConcurrentDictionary<,>
should fix this issue. I intend to provide a pull request for this shortly.The text was updated successfully, but these errors were encountered: