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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Environment:
      Linux 64 bit,
      Mongo server 2.x ,
      driver 2.7.1
    • Minor Change

      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?

        1. profiler.bmp
          profiler.bmp
          5.50 MB
        2. MongoUpsertContentionTest.java
          8 kB

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

              Created:
              Updated:
              Resolved: