Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4476

Camel splitter/aggregator 2x slower in 2.8.1 vs 2.7.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.8.2, 2.9.0
    • camel-core
    • None
    • Oracle JDK 1.6.0_26 64-bit, CentOS 6 64-bit

    • Unknown
    • Regression

    Description

      I noticed a sharp decline in the performance of my application when I upgraded from Camel 2.7.3 to 2.8.1. I discovered that the splitter/aggregator had become the bottleneck in my app. I have created a sample app that demonstrates the issue. The aggregator uses a lock, and I suspect lock contention may be at the root of this, but didn't notice any changes around that in the code diff between the versions.

      I uploaded the sample app to http://www.vancameron.net/CamelPerf.zip. It uses gradle. Unzip to a directory then run "gradle" from the command line. To change the version from 2.8.1 to 2.7.3, edit the build.gradle file and run again.

      The app loads 10 files with 100k lines each. It prints the current time in msec per batch.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            bryanck Bryan Keller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: