Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 17973 invoked from network); 22 Jul 2008 17:47:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 17:47:53 -0000 Received: (qmail 816 invoked by uid 500); 22 Jul 2008 17:47:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 788 invoked by uid 500); 22 Jul 2008 17:47:51 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 725 invoked by uid 99); 22 Jul 2008 17:47:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 10:47:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 17:47:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6CC29234C172 for ; Tue, 22 Jul 2008 10:47:00 -0700 (PDT) Message-ID: <489249266.1216748820443.JavaMail.jira@brutus> Date: Tue, 22 Jul 2008 10:47:00 -0700 (PDT) From: "Hiram Chirino (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1866) Using small queue prefetch sizes cause all consumers to run as fast as the slowest consumer. In-Reply-To: <1724355417.1216748100288.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44438#action_44438 ] Hiram Chirino commented on AMQ-1866: ------------------------------------ test case AMQ1866.java has been added to trunk. Currently failing it show a test case the works for the default prefetch but which fails for small prefetches. > 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.