Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63263

Add metric for connection establishment once MongoDB accepts() a new connection on a socket

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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

      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. 

            Assignee:
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: