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

Lock free server session pool

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Not Needed

    Description

      com.mongodb.internal.session.ServerSessionPool currently users com.mongodb.internal.connection.ConcurrentPool to implement its pooling behavior.  ConcurrentPool has synchronization overhead that is unnecessary based on ServerSessionPool usage of it.  We can improve the efficiency of ServerSessionPool by replacing its 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: