Support for MaxIdleConnectionTimeout in ruby driver 1.12

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 12_01_17
    • Affects Version/s: 1.12
    • Component/s: Connections
    • None
    • Environment:
      MongoDB 2.2, JRuby 1.78, Ruby 1.87
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      We are in the process of upgrading our Ruby Driver to 1.12 and our MongoDB server to 2.4. we are rapidly scaling and currently have around 100 app servers which connect to a ReplicaSet Cluster. Our main concern is to avoid reaching max connections (20k) on the mongodb server. we estimate the concurrent threads at our peak times reach upto 100 threads per server.

      I believe this option (https://jira.mongodb.org/browse/RUBY-741) will help keep the server connections to a reasonable limit. Is it possible to backport this fix to Ruby 1.12?

      Thanks!
      Sathya

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Sathya Sundaram
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: