Introduce striped lock to BucketCatalog to improve throughput

XMLWordPrintableJSON

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

      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
            Reporter:
            Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: