Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StripedDictionary concurrency level adjustment #9

Open
epeshk opened this issue Aug 3, 2023 · 0 comments
Open

StripedDictionary concurrency level adjustment #9

epeshk opened this issue Aug 3, 2023 · 0 comments

Comments

@epeshk
Copy link
Owner

epeshk commented Aug 3, 2023

Currently, StripedDictionary takes concurrencyLevel as a constructor argument and never grows in number of segments. This can lead to performance issues under high write load or with bad hash codes (divisible by concurrencyLevel).

StripedDictionary can grow in number of segments like a ConcurrentDictionary. The ability to grow should be configurable for cases where a fixed number of segments is preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant