Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-208

The Connection Pool is a bit too aggressive when it comes to validate connections

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M24
    • Fix Version/s: 1.0.0-M25
    • Labels:
      None

      Description

      Atl, when we pull a connection from the Pool, this connection gets validated, which requires a roundtrip to the server. It's also re-bound when we release the connection, which is another roundtrip to the server.

      We need a lighter config factory for the pool, that does not do such roundtrips, but assume that if the connection is still up, then we can reuse it.

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -
        Show
        elecharny Emmanuel Lecharny added a comment - Fixed with http://svn.apache.org/r1637004
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Closing the resolved issues.

        Show
        elecharny Emmanuel Lecharny added a comment - Closing the resolved issues.

          People

          • Assignee:
            elecharny Emmanuel Lecharny
            Reporter:
            elecharny Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development