Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28664

ASIO connection pool should bias itself towards more recently used connections

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.6
    • Networking
    • None
    • Fully Compatible
    • Platforms 2017-04-17

    Description

      The connection pool inside of asio currently hands out connection randomly. If it handed out the most recently used connection instead, it would give less used connections an opportunity to age out and be organically dropped.

      This would also minimize the number of active clients on a mongod ahead of the actual connection drop (as fewer threads would be asked to do more work)

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow
            jason.carey@mongodb.com Jason Carey
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: