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

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

      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

            Assignee:
            acm Andrew Morrow
            Reporter:
            jason.carey Jason Carey
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: