-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Service Arch 2022-2-21, Service Arch 2022-03-07, Service Arch 2022-03-21, Service Arch 2022-04-04, Service Arch 2022-04-18, Service Arch 2022-05-02
-
3
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
We have often seen large delays in client perceived connection establishment latency, and don't have enough data to pin-down exactly where the delay is. While we often suspect delays may be happening in the TCP stack below mongoDB, or perhaps the network, we don't know how long MongoDB itself is taking on average to accept a new connection.
As a first step should add a histogram that reveals how much time it takes for connections to be accept()ed on a socket by MongoDB's listener thread, until the connection is given its own dedicated thread and begins to run operations.