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

Poor performance due to SimplePool._get() and SimplePool.done()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:
      Linux 64 bit,
      Mongo server 2.x ,
      driver 2.7.1
    • Backwards Compatibility:
      Minor Change

      Description

      We are experiencing major bottleneck around following two calls on load, percentage time consumed by these two calls are given below.

      com.mongodb.util.SimplePool._get() (42%)
      com.mongodb.util.SimplePool.done() (37%)

      Please let us know if this is a known issue and there exist a fix for the same?
      Do we have any alternative to the SimplePool, which handles get and put connection more efficiently?

        Attachments

        1. MongoUpsertContentionTest.java
          8 kB
        2. profiler.bmp
          profiler.bmp
          5.50 MB
        There are no Sub-Tasks for this issue.

          Activity

            People

            Assignee:
            jeff.yemin Jeffrey Yemin
            Reporter:
            atiwari Arvind Tiwari
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: