[RCBC-46] Create shared pool of persistent connections Created: 05/Jul/12 Updated: 04/May/13 Resolved: 04/May/13 |
|
| Status: | Resolved |
| 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: | Karen Zeller | Assignee: | Sergey Avseyev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: | All | ||
| Flagged: |
Release Note
|
| 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 |