Lock free buffer pool

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Internal, Performance
    • None
    • None
    • Fully Compatible
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      com.mongodb.internal.connection.PowerOfTwoBufferPool currently users com.mongodb.internal.connection.ConcurrentPool to implement its pooling behavior.  ConcurrentPool has synchronization overhead that is unnecessary based on PowerofTwoBufferPool's usage of it.  We can improve the efficiency of PowerOfTwoBufferPool by replacing it's use of ConcurrentPool with direct usage of ConcurrentLinkedDeque.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: