Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1363

Update the default persistence adapter from journaledJDBC to amqPersistenceAdapter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3
    • 3.3
    • None
    • None
    • Servicemix 3.3

    • Patch Available

    Description

      ActiveMQ 5.x introduced a new high performance persistence adapter (AMQ Message Store).

      In my tests here I am seeing a decent performance boost for a relatively easy configuration change:

      JournaledJDBC:

      [java] Overall time: 137701 ms
      [java] Messages per sec: 7.262111386264443
      [java]
      [java] Time: 139.603
      [java]
      [java] OK (1 test)

      AMQ Message Store:

      [java] Overall time: 20511 ms
      [java] Messages per sec: 48.75432694651651
      [java]
      [java] Time: 23.556
      [java]
      [java] OK (1 test)

      I think it would be worthwhile making the default persistence adapter the amqPersistenceAdapter vs the current journaledJDBC.

      I've attached a patch, but note it requires an ActiveMQ upgrade from 4.1.1 to 5.1.0. and as the namespaces have changed in ActiveMQ 5.1 I had to update the ra namespace in jndi.xml also.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              dave_stanley Dave Stanley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: