You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Jason Jeong <cu...@gmail.com> on 2016/07/14 02:20:49 UTC
Thread safety of .NET NetworkService
Hi,
I noticed that the .NET side NetworkService classes use several
Dictionaries here and there to cache IConnections and other objects.
This may lead to concurrency issues when a singleton NetworkService is
accessed by many threads.
Should we fix the code to use concurrent data structures
(ConcurrentDictionary)? Or, is it up to the user to handle concurrency, for
now?
Thanks,
Jason