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

MongoS open one connection each primary per incoming connection

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Sharding
    • Labels:
      None
    • Environment:
      All.
    • ALL

      Created after a discussion on the mailing list : https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/qkiQmLDRuBA

      For each incoming connection, mongoSs create a connection to each shard primary (and one to a secondary is using appropriate flag).

      This is really blocking for scalability since each primary will have as much as all incoming connection to the cluster.

      Usage of these connection really internal stuff and should (and could easily) be pooled.
      Of course it reveals also that a primary is required for any kind of request.

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            kamaradclimber Grégoire Seux
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: