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

Reject connection acquisition attempts if queue gets too long

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling
    • WS Prioritized List

      In the event that the number of connection acquisition requests vastly outnumbers the maximum size of a pool, it's possible for the pool to get stuck thrashing between pushing new requests on the queue and popping older ones off when they time out, rather than making any progress towards actually servicing requests. We should consider outright rejecting work when the queue reaches a certain length, possibly as a factor of the maximum size (e.g. 1,000x the pool size).

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: