[SERVER-38183] Add tryGet to the executor connection pool Created: 16/Nov/18  Updated: 29/Oct/23  Resolved: 07/Dec/18

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 4.1.7

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Service Arch 2018-12-03, Service Arch 2018-12-17
Participants:
Linked BF Score: 0

 Description   

Adding a tryGet to the executor connection pool (and trying to use that before context switching to the pool) will allow us to avoid context switches when the only work to be done is to lone a connection out. That should speed up most operations in mostly pooled systems



 Comments   
Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}

Message: SERVER-38183 add tryGet to exec connpool

Add a method that returns a connection to a host without a context
switch if connections are available and no requests are pending.
Branch: master
https://github.com/mongodb/mongo/commit/53d99b27f09b2d0162c44644cd8c9191a9879121

Generated at Thu Feb 08 04:48:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.