I'm using a concurrent dictionary to store about two million records and want to know what to initialize the concurrency level of my dictionary to.
The MSDN page has the following comment in its example code:
The higher the
concurrencyLevel
, the higher the theoretical number of operations that could be performed concurrently on theConcurrentDictionary
. However, global operations like resizing the dictionary take longer as theconcurrencyLevel
rises.
This is the best I could find that explains what the concurrencyLevel means and yet it is still very vague.