Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1943

Make maxConnecting configurable

    • Needed
    • Hide

      Implement the new maxConnecting connection pool and connection string option as specified in this commit.

      Show
      Implement the new maxConnecting connection pool and connection string option as specified in this commit .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4218 Won't Do
      CXX-2413 Won't Do
      CSHARP-3952 Fixed 2.14.0
      GODRIVER-2219 Done 1.8.2
      JAVA-4390 Fixed 4.4.0
      NODE-3750 Done 4.7.0
      PHPLIB-759 Won't Do
      PYTHON-3005 Fixed 4.0
      MOTOR-856 Duplicate
      RUBY-2840 Duplicate
      RUST-1096 Backlog
      SWIFT-1411 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4218 Won't Do CXX-2413 Won't Do CSHARP-3952 Fixed 2.14.0 GODRIVER-2219 Done 1.8.2 JAVA-4390 Fixed 4.4.0 NODE-3750 Done 4.7.0 PHPLIB-759 Won't Do PYTHON-3005 Fixed 4.0 MOTOR-856 Duplicate RUBY-2840 Duplicate RUST-1096 Backlog SWIFT-1411 Duplicate

      Summary

      The CMAP spec currently requires setting maxConnecting to 2. There are some user scenarios where this setting is not optimal, and degrades application performance.

      Consider allowing users to configure maxConnecting setting.
      Drivers should also provide documentation suggesting the default value of 2 (or other) for minimizing the risk of connection storms.

      Motivation

      Who is the affected end user?

      Customers with workloads for which maxConnecting=2 causes degraded performance (see linked tickets).

      How does this affect the end user?

      Some users experience performance degradation, which is supposed to be addressed by this setting.

      How likely is it that this problem or use case will occur?

      Unclear, probably an edge case.

      If the problem does occur, what are the consequences and how severe are they?

      Degraded performance

      Is this issue urgent?

      This prevents some users from upgrading to the latest driver.

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      No

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            boris.dogadov@mongodb.com Boris Dogadov
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: