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

Introduce striped lock to BucketCatalog to improve throughput

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Execution Team 2021-02-22, Execution Team 2021-03-08

      In many-writer, large-batch timeseries workloads, a great deal of time is spent waiting on the mutex while we do read-only operations on shared data structures. We can introduced a striped (i.e. sharded, partitioned) mutex to support this in a way that allows multiple concurrent readers, but still allows an operation to take an exclusive lock (by locking all stripes) to perform a write.

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: