activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Rolland (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2780) ActiveMQ not preserving Message Order
Date Wed, 16 Jun 2010 04:24:51 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan Rolland updated AMQ-2780:
------------------------------

    Attachment: Producer.java
                Consumer.java
                BenchmarkSupport.java

the command and arguments to invoke the two apps from maven to reproduce the problem:

mvn -e exec:java -Dexec.mainClass="org.apache.activemq.benchmark.Producer" -Dexec.args="tcp://127.0.0.1:61616
false queue/syncTopic false 64"

mvn -e exec:java -Dexec.mainClass="org.apache.activemq.benchmark.Consumer" -Dexec.args="tcp://127.0.0.1:61616
false queue/RemoteQ false 1 1"

example output from consumer showing violations:

Delay Set to:5227 ms, violations:0
Delay Set to:2233 ms, violations:0
Delay Set to:9269 ms, violations:0
Delay Set to:8694 ms, violations:0
Delay Set to:7000 ms, violations:0
Delay Set to:6667 ms, violations:0
Delay Set to:7708 ms, violations:0
Delay Set to:4281 ms, violations:0
Delay Set to:4317 ms, violations:0
Delay Set to:1227 ms, violations:0
Delay Set to:6678 ms, violations:0
MessageID Out of Order: 1037651!=1037451
MessageID Out of Order: 1037451!=1037851
MessageID Out of Order: 1037851!=1037651
Delay Set to:384 ms, violations:3
Delay Set to:460 ms, violations:3
Delay Set to:784 ms, violations:3
Delay Set to:9581 ms, violations:3
MessageID Out of Order: 1433823!=1433623
MessageID Out of Order: 1433623!=1434023
MessageID Out of Order: 1434023!=1433823
Delay Set to:954 ms, violations:6
Delay Set to:8185 ms, violations:6
Delay Set to:4814 ms, violations:6
Delay Set to:5689 ms, violations:6
Delay Set to:6990 ms, violations:6
Delay Set to:6026 ms, violations:6
Delay Set to:4511 ms, violations:6
Delay Set to:304 ms, violations:6

> ActiveMQ not preserving Message Order
> -------------------------------------
>
>                 Key: AMQ-2780
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2780
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: Windows XP, JDK 1.6.0_07
>            Reporter: Ryan Rolland
>            Priority: Critical
>         Attachments: BenchmarkSupport.java, Consumer.java, Producer.java
>
>
> I believe I have found a bug in message order delivery in ActiveMQ. I have taken the
example benchmark consumer and producer programs and made the following modifications:
> 1)	Added a counter to keep track manually of the message order.
> 2)	Made the transmitted number of bytes per message random between 1 and 64 bytes.
> 3)	Added a random delay between 1 and 10 seconds triggered after every 100000 messages
transferred on the publishing side.
> After running for a few minutes I begin to see violations in the message delivery order.
In my most recent run I have counted 54 violations over the course of an hour.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message