Sign in Sign up
nuget

NonBlocking

Implementation of a lock-free dictionary on .Net Included types: === NonBlocking.ConcurrentDictionary Lock-free, wait-free implementation of a dictionary. - has the same API as System.Collections.Concurrent.ConcurrentDictionary. - No locks are taken during any operation including Get, Add, Remove, internal resizes etc... - While multiple threads accessing NonBlocking dictionary will help each other in operations such as table resizing, there is no dependency on such behavior. If any thread get unscheduled or delayed for whatever reason, other threads will be able to make progress independently. - NonBlocking dictionary scales linearly with the number of active threads if hardware permits. On most operations NonBlocking dictionary is faster than Concurrent, especially in write-heavy scenarios. Core algorithms are based on NonBlockingHashMap, written and released to the public domain by Dr. Cliff Click. A good overview could be found here: https://www.youtube.com/watch?v=HJ-719EGIts === Counter32 === Counter64 Low-overhead scalable counters.

nuget View on Nuget

Activity

Latest release
3y ago
Total releases
14
Cadence
~3 months
Last 12 months
0

Details

License
MIT
First release
May 10, 2017
Releases
Version Released
2.1.2 patch
2.1.1 patch
2.1.0 minor
2.0.0 major
1.1.2 patch
1.1.1 patch
1.1.0 minor
1.0.3 patch
1.0.2 patch
1.0.0 initial
1.0.0-rc7 pre
1.0.0-rc6 pre
1.0.0-rc5 pre
1.0.0-rc4 pre