Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-459

smooth the latency measurements

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      This is to avoid ignoring local servers because some measurements were bad.
      Since we dont do just a ping but call isMaster, extra delay may appear.
      The default smoothing factor is 4.0 and can be modified with com.mongodb.latencySmoothFactor

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: