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

Use atomics to reduce contention in hasSeenKeys()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc6, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Service arch 2020-05-18

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: