[DOCS-924] Docs on 'mongos' connections don't make sense Created: 21/Dec/12  Updated: 15/Apr/13  Resolved: 07/Jan/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: William Zola Assignee: Ed Costello
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://docs.mongodb.org/manual/faq/sharding/#how-many-connections-does-each-mongos-need


Participants:
Days since reply: 10 years, 50 weeks, 6 days ago

 Description   

This makes no sense:

Typically, each client maintains as connection to mongos. mongos maintains a connection pool to support a single outgoing connection to each shard for.

This sort of makes sense, but could be made clearer

For incoming connections that direct read operations to secondaries, the mongos will also need to maintain connects to each member of the replica set that provides the shard.



 Comments   
Comment by auto [ 28/Feb/13 ]

Author:

{u'date': u'2013-02-27T21:09:41Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-924: removing comment blocks from 2.4 feature
Branch: master
https://github.com/mongodb/docs/commit/b8cdc931407de8107fa3889050cd8a8e9f439b71

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T17:56:47Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-924 adding ulimit and rewording question
Branch: master
https://github.com/mongodb/docs/commit/b58859943597861389cddd95009e5e076004b0cc

Comment by Sam Kleinman (Inactive) [ 07/Jan/13 ]

I added a cross reference to the relevant section on the ulimit page, which is the correct place for this information...

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T17:43:55Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-924: clarifiy connection pooling faq
Branch: master
https://github.com/mongodb/docs/commit/a11d9ae6a441fc9e2037cb0937a26a488e68a757

Comment by William Zola [ 05/Jan/13 ]

For what it's worth, the current text does not answer the question "How many connections does 'mongos' need?".

The answer is:

  • One connection to each node in all of the shards
  • One incoming connection from each incoming client
  • Up to (NUM_INCOMING * NUM_NODES) outgoing connections to handle the operations requested by the incoming connections
  • The actual number of outgoing connections to the shard nodes may be fewer, based on the composition of the incoming requests
Comment by auto [ 04/Jan/13 ]

Author:

{u'date': u'2013-01-04T22:41:00Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-924
Branch: master
https://github.com/mongodb/docs/commit/05d38aaa22ad42dfaf3183865fb46130c5f57890

Generated at Thu Feb 08 07:39:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.