Uploaded image for project: 'FUSE Message Broker'
  1. FUSE Message Broker
  2. MB-951

Performance drop with durable subscriptions since 5.4.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.5.1-fuse-01-11
    • Component/s: broker
    • Labels:
      None

      Description

      We have a simple test case attached. I've also created a maven file so we can run it independently against all the versions. Basically in 5.4.1 the test case takes 4 minutes, 5.4.2 ~ 17 minutes and in latest 5.5 version well over a half hour.

      5.4.1-fuse-02-00
      > ===================================
      > Running org.apache.activemq.test.TopicWithManySelectorsTest2
      > log4j:WARN No appenders could be found for logger (org.apache.activemq.transport.vm.VMTransportFactory).
      > log4j:WARN Please initialize the log4j system properly.
      > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      > 00:00: main - Creating 301 clients.
      > 00:08: main - Sending 20000 messages.
      > 00:10: main - 20000 data items have been sent
      > 04:07: cli - Received transaction size=20001 Client[id=0, matching=true]
      > 04:07: cli - Ack done. Client[id=0, matching=true]
      > 04:07: main - Sent data is commited
      > 04:18: SIZE - max page: db-112.log, cache size: 7MB, elapsed: 03:59
      >
      > 04:18: Done.
      > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 258.609 sec
      >
      >
      > 5.4.2-fuse-04-05/
      > ===================================
      > 00:00: main - Creating 301 clients.
      > 00:08: main - Sending 20000 messages.
      > 00:10: main - 20000 data items have been sent
      > 17:34: cli - Received transaction size=20001 Client[id=0, matching=true]
      > 17:34: main - Sent data is commited
      > 17:35: cli - Ack done. Client[id=0, matching=true]
      > 17:57: SIZE - max page: db-116.log, cache size: 203MB, elapsed: 17:26
      >
      > 17:57: Done.
      > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,077.716 sec
      >
      > 5.5.0-fuse-00-43/
      > ===================================
      > 00:00: main - Creating 301 clients.
      > 00:08: main - Sending 20000 messages.
      > 00:12: main - 20000 data items have been sent
      > 31:33: cli - Received transaction size=20001 Client[id=0, matching=true]
      > 31:33: cli - Ack done. Client[id=0, matching=true]
      > 31:33: main - Sent data is commited

      Per Gary, this is a known issue already logged at Apache, AMQ-3467.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tabish121 Timothy Bish
                Reporter:
                sjavurek Susan Javurek
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: