The current library already a thread local connection. Moving this to 2.0 as we may add a connection pool in that timeframe, but there is no current plan to add a connection pool.
Thread locals provide persistent connections, so I'm also changing the summary of the bug to be more accurate with respect to what's intended.
Matt Ingenthron
added a comment - The current library already a thread local connection. Moving this to 2.0 as we may add a connection pool in that timeframe, but there is no current plan to add a connection pool.
Thread locals provide persistent connections, so I'm also changing the summary of the bug to be more accurate with respect to what's intended.
Sergey Avseyev
added a comment - I think connection pool is quite related thing. There is good implementation in mongo driver https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/util/pool.rb I think I can re-use it because it is also Apache-2 licensed