Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3011

Bump default maximum connection pool size to 20

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.18.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None

      The specifications require that when a connection pool max size is not specified, the driver imposes a default max size. The current max size in driver is 5. The size required in specification is 100.

      We think 100 is excessive for typical Ruby applications. At the same time 5 is insufficient FLE may require up to 2 connections in addition to the connection used for operation against the server, thus effectively a pool of size 5 can permit only 1 concurrent operation.

      We think a default max size of 20 is a good compromise between permitting FLE usage with the same level of service as non-FLE usage right now (5 concurrent operations) while not creating excessively large pools.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: