[JAVA-3628] Question: is connectionPoolSetting for single mongos or whole cluster? Created: 17/Feb/20 Updated: 23/Mar/20 Resolved: 23/Mar/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Connection Management |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Xiao Tang | Assignee: | John Stewart (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I am a server-side developer, working on a project which uses a mongo cluster as persistent database.
A mongodb sharded cluster which has 6 mongos instance. Question: |
| Comments |
| Comment by John Stewart (Inactive) [ 09/Mar/20 ] |
|
tangxiao.dalian@gmail.com Yes, that is correct. |
| Comment by Xiao Tang [ 08/Mar/20 ] |
|
@John Stewart |
| Comment by John Stewart (Inactive) [ 24/Feb/20 ] |
|
tangxiao.dalian@gmail.com Thanks for your questions. Connection pooling is for a single server. So if you set maxSize = 10, this means the connection pool will have up to 10 connections available for a single mongos server. |