[DOCS-9479] Docs for SERVER-25027: Configurable connection pools size for mongos Created: 02/Dec/16  Updated: 12/Jun/17  Resolved: 01/May/17

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

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: 2-24-2017, code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-25027 Configurable connection pools size fo... Closed
Duplicate
is duplicated by DOCS-9824 Add documentation on new mongos tunab... Closed
is duplicated by DOCS-9387 ASIO parameters and mongos to mongod ... Closed
Related
Participants:
Days since reply: 6 years, 40 weeks, 5 days ago

 Description   

Engineering Ticket Description:

It would be nice if users could configure a outbound connection pools in a way as most of the drivers work. The use case is to do throttling of the amount of connections that hit the shards on the mongos level - e.g. if a number of requestes/active connections to mongos exceeds the specified threshold, some connections will have to wait for their turn to be served.

Implementing this would mean that we need to expose the standard connection pool-related options such as:

  • maxPoolSize
  • waitQueueMultiple
  • waitQueueTimeoutMS

Given that mongos is based on a C++ driver I presume that should be doable.

Note on the implementation of this ticket

To clarify, this commit exposes the connection pooling options that currently exist in mongos, rather than driver equivalent options.

Added knobs include:

  • ShardingTaskExecutorPoolHostTimeoutMS
  • ShardingTaskExecutorPoolMaxSize,
  • ShardingTaskExecutorPoolMinSize,
  • ShardingTaskExecutorPoolRefreshRequirementMS
  • ShardingTaskExecutorPoolRefreshTimeoutMS


 Comments   
Comment by Githook User [ 05/May/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9479 mongos connection configuration parameters
Branch: v3.2
https://github.com/mongodb/docs/commit/559a8d99f965ab1f791eb70f0882ce3549b47c98

Comment by Githook User [ 05/May/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9479 mongos connection configuration parameters
Branch: master
https://github.com/mongodb/docs/commit/3628ae8901731776ed0782f2d43cb794bf083f54

Comment by Githook User [ 01/May/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9479 mongos connection configuration parameters
Branch: v3.2
https://github.com/mongodb/docs/commit/30ebc0b5e311308903d38c43f7804ecb6fae08e5

Comment by Githook User [ 01/May/17 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9479 mongos connection configuration parameters
Branch: master
https://github.com/mongodb/docs/commit/9e85858e96832ef6eca662a97b7ca0a34e72b624

Comment by Samantha Ritter (Inactive) [ 12/Apr/17 ]

I believe this ticket is mostly a duplicate of DOCS-9387, though it might be asking for documentation on the write path (dbclient) as well.

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