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

rResolves #163 replaced synchronized blocks on entryMap with read/write locks #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ofiterev
Copy link

Resolves #163

Hello,

while doing load tests I ran into a problem with threads blocking when reading from InMemoryDirectoryServer as it is using synchronized blocks, so I replaced them with read/write locks. Accepting this pull request would help me a lot since I will not need to rebuild each release :)

Thanks a lot,
Valentin

…MemoryRequestHandler so multiple reads can be executed at a time when no write is done

Resolves pingidentity#163
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

Successfully merging this pull request may close these issues.

InMemoryDirectoryServer is single threaded and blocks for searches
1 participant