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

Make the global histogram in `Top` lock-free

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch
    • Service Arch 2024-04-29

      The global histogram is protected with a mutex. We can make a new version of OperationLatencyHistogram that uses atomics to update histogram buckets and other metrics, and then remove the mutex.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: