Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4227

Use a shared_mutex when locking in shared_ptr atomic operations

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: None
    • Component/s: None
    • None

      At very high thread counts, locking on the shared_ptr atomic mutex begins to dominate. Using a shared_mutex significantly reduces the time spent in locking code and increases the performance under high contention.

            Assignee:
            colby.pike@mongodb.com Colby Pike
            Reporter:
            colby.pike@mongodb.com Colby Pike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: