Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-392

Best way to connect to sharded cluster

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Connections, Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Going to move from mgo to this Go driver. Having a sharded cluster with replica sets for each shard.

      What I did with mgo (and in C++ implementations as well): Connecting directly to every single replica set member without mongos to have better control of my connections and load of each node.

      I'm wondering if this is a good approach or there is a better best practise. Thought about connecting to shards and let the driver handle the replica sets. But I will lose some of the control with this.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            sebastianbauer Sebastian Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: