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

Use atomics to reduce contention in hasSeenKeys()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc6, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v4.4
    • Service arch 2020-05-18

      As part of processing incoming messages, mongos calls into appendRequiredFieldsToResponse through _processMessage (see here). Every mongos client thread spends about %5.8 of its time in this function while running a 100% read workload.

      We should investigate possible modifications to this function to reduce its performance footprint on the critical execution path.

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

              Created:
              Updated:
              Resolved: