Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9FD2174E9 for ; Wed, 27 May 2015 16:35:58 +0000 (UTC) Received: (qmail 46327 invoked by uid 500); 27 May 2015 16:35:58 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 46290 invoked by uid 500); 27 May 2015 16:35:58 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 46277 invoked by uid 99); 27 May 2015 16:35:58 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 16:35:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A30D71822A3 for ; Wed, 27 May 2015 16:35:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.686 X-Spam-Level: *** X-Spam-Status: No, score=3.686 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=1.171] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2pWPvdTMP_il for ; Wed, 27 May 2015 16:35:44 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 54C2820539 for ; Wed, 27 May 2015 16:35:44 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 3A4981F75AC5 for ; Wed, 27 May 2015 09:36:45 -0700 (PDT) Date: Wed, 27 May 2015 09:17:31 -0700 (PDT) From: contezero74 To: users@activemq.apache.org Message-ID: <1432743451268-4696949.post@n4.nabble.com> In-Reply-To: References: <1432196087123-4696754.post@n4.nabble.com> <1432285592380-4696854.post@n4.nabble.com> <1432542745202-4696899.post@n4.nabble.com> Subject: Re: Performance degrade issue using ActiveMQ scheduler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Tim, sorry for the late response, but we spent the last days to make the "workaround" working well. > My suggestion was that you subdivide your future messages based on time, > so > that only a small number of them are actually scheduled messages (and the > rest are normal messages, which the Camel route will schedule later, when > the beginning of their holding queue's time window arrives). To be honest, I misunderstood your suggestion: I understood to create more scheduled queue and this is way we continue to have the problem. We cannot follow your approach because the incoming messages are created from an external application that has its own life-cycle and instructs our application using the messages themselves. At the end our "workaround" is very simple: - we use multiple ActiveMQ support queues and we put in every support queue the messages that have the same time-window - every support queue has one polling consumer attached: the consumer verifies if the processing time is arrived and in case starts to forward the messages to the queue T with this solution we are able to match the requirements that we had. Next steps are 1. create a Camel component in order to be able to reuse the solution in others projects. 2. return to analyse the ActiveMQ behavior > ActiveMQ's scheduled messages may not be optimized yet for this volume, > but > I'm not sure they haven't been *designed* for it. Hopefully with your > help > we can tune them so they can accommodate this load (if indeed that is the > problem), and if it turns out the design itself can't accommodate this > volume, then hopefully redesigning the algorithm won't be hard. probably, you are right: we stressed them to their limit. But for sure the system has to return to work correctly after the use of the scheduled-area stops. P.S. thanks, also for all the hint related to VisualVM cheers, Eros -- View this message in context: http://activemq.2283324.n4.nabble.com/Performance-degrade-issue-using-ActiveMQ-scheduler-tp4696754p4696949.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.