[CDRIVER-279] be lazier about holding on to connections Created: 24/Jan/14 Updated: 06/Jan/15 Resolved: 06/Jan/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Hergert | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Imagine a long running workload that has 10 threads. Each thread has a client they are using to communicate with the MongoDB server. 5 are doing reads, 5 are doing writes. If the replicaSet is a 3 member node, we will hold onto 30 connections even tho only 10 can be used at a time. We can improve this a bit. |