Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3095

Add moving STD to RTT Stats

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Context

      Qualify the connection stability by providing the user with the moving standard deviation in the rttMonitor.Stats() method, which will likely be propagated as an operation error during a timeout.

      This value should be the average standard deviations of the S_{10} moving average defined here. Which would result in a Nx1 vector of standard deviations, like this.

      Here is a working example, you can roughly confirm the hypothesis by adjusting the rang variable which should grow larger by a factor of itself: https://go.dev/play/p/s54Z4BQWPCR

      Definition of done

      Implement the moving standard deviation for rtt samples.

            Assignee:
            joy.wang@mongodb.com Joy Wang
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: