[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:
Depends
is depended on by CDRIVER-416 HA monitoring Closed
Related
related to CDRIVER-438 Implement Server Discovery And Monito... Closed

 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.


Generated at Wed Feb 07 21:08:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.