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

Throughput mongo java driver Versus mongo C driver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
    • Environment:
      Linux 2.6.32-220.el6.x86_64
      Red Hat Enterprise Linux Server release 6.2
      java version "1.7.0_05"
      Mongo java driver 2.8.0
      mongodb-linux-x86_64-2.0.6
      App server has 32-cores, hyperthreading, 192gb ram

      Description

      The heap usage in the java driver is causing about 30% of the time to be spent on garbage collection reducing throughput. Worsens with increased number of threads and/or increased heap size. The mongo C driver, in comparison is able to sustain a good thoughput. Sample tests attached.

        Attachments

        1. mongotest.c
          2 kB
        2. MongoTest.java
          3 kB
        3. README
          2 kB

          Issue Links

            Activity

              People

              Assignee:
              jeff.yemin Jeffrey Yemin
              Reporter:
              sthampy Sushil Thampy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: