Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1075

Add double lock check in connection pool acquire

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.2.5
    • 2.2.4
    • None
    • None

    Description

      From PR:
      "During load testing I noticed several time intervals where client stops to send requests to the server, after adding additional logs was discovered that if client activity increases dramatically and you don't have enough connections in the pool all current requests will wait in lock and will try to open new connection one by one. Opening new socket connection takes time and almost for sure that some connections will be released while operation waits in lock. The fix is simple check if connection was released before opening new one."

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty