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

Create a reader-optimized reader-writer mutex

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • v8.0
    • Service Arch 2024-02-19, Service Arch 2024-03-04, Service Arch 2024-03-18, Service Arch 2024-04-01, Service Arch 2024-04-15
    • 167

      This new primitive doesn't allow stale reads, blocks readers when a write is pending or in progress, and enables writers to await completion of ongoing reads. The objective is to make the common-case (i.e. read path) as cheap as possible, preferably keeping bookkeeping local to reader threads and avoiding RMW instructions.

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

              Created:
              Updated:
              Resolved: