[SERVER-7052] MongoS open one connection each primary per incoming connection Created: 17/Sep/12 Updated: 17/Sep/12 Resolved: 17/Sep/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.0.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Grégoire Seux | Assignee: | Greg Studer |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All. |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
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. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 17/Sep/12 ] |
|
See Note, this does not mean that the primary is required for each op. |