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

mongos seems to open double the number of connections to primary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.0, 3.0.0-rc6
    • Sharding
    • None
    • Service Arch
    • ALL

    Description

      While running YCSB tests with multiple mongos instances on different machines I noticed that mongos seems to be opening double the number of connections to shards than client is opening to mongos.

      So for example, client starts 75 threads, opens 75 connections to mongos and mongos ends up opening about 150 connections to each shard. (there are three shards and the workload are point updates and queries which are going to be evenly distributed across the shards).

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: