ASIO connection pool should bias itself towards more recently used connections

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.6
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • Platforms 2017-04-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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)

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: