Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-287

Better connection pooling

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      To eliminate socket-per-thread high connection issues

      • automatically share sockets between threads by default
      • restore start_request to make thread local sockets optional
      • consider mgo's monotonic consistency option for requests?
      • make implementing PYTHON-296 and PYTHON-297 easier

      I'm going to remove pymongo.connection._Pool and have all Connection classes (single-server, master-slave, replica-set) use the same pymongo.pool.Pool class.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: