activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1866) Using small queue prefetch sizes cause all consumers to run as fast as the slowest consumer.
Date Tue, 22 Jul 2008 19:21:00 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44439#action_44439
] 

Hiram Chirino commented on AMQ-1866:
------------------------------------

Seems it's not limited to small prefetch sizes.  Test case has been updated and shows that
the slow down will happen even with the default prefetch size.

> Using small queue prefetch sizes cause all consumers to run as fast as the slowest consumer.
> --------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1866
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1866
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>
> If you have a JMS producer sending messages to multiple consumers and you have the cacheLevel
set to 3 or higher, eventually all consumers will run as slow as the slowest consumer.
> In the attached projects the SA sends messages to a MockOptimizer (JMS consumer) that
has two threads. One sleeps for one second and the other sleeps for ten. Initially the thread
sleeping for 1 second will consume most of the messages, but towards the end it will start
to consume messages every ten seconds as well.

-- 
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