Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-46

Create shared pool of persistent connections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.3.0
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      All

      Description

      Need a setting to indicate a connection should be persisted.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          avsej 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

          Show
          avsej 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
          Hide
          ingenthr 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.

          Show
          ingenthr 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.
          Hide
          avsej Sergey Avseyev added a comment -

          http://review.couchbase.org/26028 Thanks to Mike Evans

          Show
          avsej Sergey Avseyev added a comment - http://review.couchbase.org/26028 Thanks to Mike Evans

            People

            • Assignee:
              avsej Sergey Avseyev
              Reporter:
              kzeller kzeller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes