activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Liguori (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-3299) Prioritizing of messages isn't fully applied to all messages during test.
Date Wed, 27 Apr 2011 14:23:11 GMT

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

Robert Liguori updated AMQ-3299:
--------------------------------

    Attachment: priority_publisher_log.txt
                priority_consumer_log.txt

> Prioritizing of messages isn't fully applied to all messages during test.
> -------------------------------------------------------------------------
>
>                 Key: AMQ-3299
>                 URL: https://issues.apache.org/jira/browse/AMQ-3299
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.2
>         Environment: Operating System = Windows XP version 5.1 running on x86
> Java; VM; Vendor = 1.6.0_23
> Runtime = Java HotSpot(TM) Client VM 19.0-b09
>            Reporter: Robert Liguori
>         Attachments: priority_consumer_log.txt, priority_publisher_log.txt
>
>
> Considering this link: http://activemq.apache.org/activemq-performance-module-users-manual.html
and sample test performance benchmarks of 1 million messages every 5 mins, I created and ran
a priority test with 333 messages begin sent every second.
> Problem: It appears as if the priority algorithm is not being applied (or even attempted)
to many of the messages in the middle of the run.  Consider this output and examine the message
order, the number with the # signs are represent the message number sent by the producer,
these numbers are ordered meaning that the producer did not order them before sending them
out:
> 09:59:58 INFO  MESSAGE PRI-4 #20951 Count-19953
> 09:59:58 INFO  MESSAGE PRI-9 #20952 Count-19954
> 09:59:58 INFO  MESSAGE PRI-2 #20953 Count-19955
> 09:59:58 INFO  MESSAGE PRI-5 #20954 Count-19956
> 09:59:58 INFO  MESSAGE PRI-5 #20955 Count-19957
> 09:59:58 INFO  MESSAGE PRI-9 #20956 Count-19958
> 09:59:58 INFO  MESSAGE PRI-7 #20957 Count-19959
> 09:59:58 INFO  MESSAGE PRI-0 #10648 Count-19960
> 09:59:58 INFO  MESSAGE PRI-3 #20959 Count-19961
> 09:59:58 INFO  MESSAGE PRI-2 #20960 Count-19962
> 09:59:58 INFO  MESSAGE PRI-8 #20961 Count-19963
> 09:59:58 INFO  MESSAGE PRI-4 #20962 Count-19964
> 09:59:58 INFO  MESSAGE PRI-7 #20963 Count-19965
> 09:59:58 INFO  MESSAGE PRI-3 #20964 Count-19966
> 09:59:58 INFO  MESSAGE PRI-9 #20965 Count-19967
> 09:59:58 INFO  MESSAGE PRI-3 #20966 Count-19968
> 09:59:58 INFO  MESSAGE PRI-7 #20967 Count-19969
> 09:59:58 INFO  MESSAGE PRI-1 #20968 Count-19970
> 09:59:58 INFO  MESSAGE PRI-8 #20969 Count-19971
> 09:59:58 INFO  MESSAGE PRI-1 #20970 Count-19972
> 09:59:58 INFO  MESSAGE PRI-8 #20971 Count-19973
> 09:59:58 INFO  MESSAGE PRI-9 #20972 Count-19974
> 09:59:58 INFO  MESSAGE PRI-2 #20973 Count-19975
> 09:59:58 INFO  MESSAGE PRI-4 #20974 Count-19976
> 09:59:58 INFO  MESSAGE PRI-6 #20975 Count-19977
> 09:59:58 INFO  MESSAGE PRI-8 #20976 Count-19978
> 09:59:58 INFO  MESSAGE PRI-2 #20977 Count-19979
> 09:59:58 INFO  MESSAGE PRI-5 #20978 Count-19980
> 09:59:58 INFO  MESSAGE PRI-6 #20979 Count-19981
> 09:59:58 INFO  MESSAGE PRI-5 #20980 Count-19982
> 09:59:58 INFO  MESSAGE PRI-1 #20981 Count-19983
> 09:59:58 INFO  MESSAGE PRI-4 #20982 Count-19984
> 09:59:58 INFO  MESSAGE PRI-5 #20983 Count-19985
> 09:59:58 INFO  MESSAGE PRI-2 #20984 Count-19986
> 09:59:58 INFO  MESSAGE PRI-6 #20985 Count-19987
> 09:59:58 INFO  MESSAGE PRI-8 #20986 Count-19988
> 09:59:58 INFO  MESSAGE PRI-7 #20987 Count-19989
> 09:59:58 INFO  MESSAGE PRI-3 #20988 Count-19990
> 09:59:58 INFO  MESSAGE PRI-7 #20989 Count-19991
> 09:59:58 INFO  MESSAGE PRI-3 #20990 Count-19992
> 09:59:58 INFO  MESSAGE PRI-4 #20991 Count-19993
> 09:59:58 INFO  MESSAGE PRI-5 #20992 Count-19994
> 09:59:58 INFO  MESSAGE PRI-6 #20993 Count-19995
> 09:59:58 INFO  MESSAGE PRI-1 #20994 Count-19996
> 09:59:58 INFO  MESSAGE PRI-0 #10667 Count-19997
> 09:59:58 INFO  MESSAGE PRI-7 #20996 Count-19998
> 09:59:58 INFO  MESSAGE PRI-3 #20997 Count-19999
> 09:59:58 INFO  MESSAGE PRI-8 #20998 Count-20000
> 09:59:58 INFO  MESSAGE PRI-8 #20999 Count-20001
> I will separately attach the full producer and consumer logs.  You will notice clear
ordering of messages at the beginning and end of the test.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message