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] Created: (AMQ-1866) Using small queue prefetch sizes cause all consumers to run as fast as the slowest consumer.
Date Tue, 22 Jul 2008 17:35:00 GMT
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