[RCBC-46] Create shared pool of persistent connections Created: 05/Jul/12  Updated: 13/Jan/14  Resolved: 04/May/13

Status: Closed
Project: Couchbase Ruby client library
Component/s: library
Affects Version/s: 1.0.0
Fix Version/s: 1.3.0
Security Level: Public

Type: Bug Priority: Major
Reporter: kzeller Assignee: Sergey Avseyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: All


 Description   
Need a setting to indicate a connection should be persisted.

 Comments   
Comment by Sergey Avseyev [ 12/Jul/12 ]
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
Comment by Matt Ingenthron [ 28/Aug/12 ]
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.
Comment by Sergey Avseyev [ 04/May/13 ]
http://review.couchbase.org/26028 Thanks to Mike Evans
Generated at Wed Sep 17 22:50:25 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.