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

Rate Limit Mongos Outbound Thread Creation

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 3.2.12, 3.4.2
    • Component/s: Sharding
    • Labels:
      None

      Currently, mongos can create an unlimited number of outbound connections to mongod's

      In cases with many (a few hundred) mongos routers a temporary slowdown causes a massive, sudden increase in connections to the mongod's.

      SERVER-25027 allows limiting the number of outbound connections, but this is a manual setting requiring manual configuration and testing to determine an optimal value.

      What would be more beneficial is to implement a feedback loop between mongos and mongod, where new connections are rate limited slowing or preventing the negative performance implications from additional connections.

      This would hopefully prevent needing to manually set SERVER-25027 settings and reduce the overall number of connection spikes.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            kevin.arhelger@mongodb.com Kevin Arhelger
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: