Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4628

Lock free buffer pool

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Internal, Performance
    • None
    • Fully Compatible
    • Not Needed

    Description

      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.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: