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

Already on GitHub? Sign in to your account

Remove element creation from inside the mutex on the pool #1

Open
seancribbs opened this Issue Jun 26, 2012 · 0 comments

Comments

Projects
None yet
1 participant

Moved from basho/riak-ruby-client#40. Originally submitted by @mtoledo. Relevant commit: dui/riak-ruby-client@bb797cc

This way element creation can happen in parallel, and also the potentially expensive operation (opening connections) doesn't hold the lock preventing other pool clients from accessing the pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment