Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 76764 invoked from network); 15 Dec 2010 17:38:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 17:38:18 -0000 Received: (qmail 95032 invoked by uid 500); 15 Dec 2010 17:38:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95009 invoked by uid 500); 15 Dec 2010 17:38:18 -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 95001 invoked by uid 99); 15 Dec 2010 17:38:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 17:38:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bruce.snyder@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 17:38:14 +0000 Received: by bwz16 with SMTP id 16so2661604bwz.32 for ; Wed, 15 Dec 2010 09:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=d/DcWWFQcBCl6LqUEg1MG9w2avcrsnPr3XE85piuKQM=; b=wl4vGzQYXpZTWMtNIFuVfuworVt3otJ1uFpkPeN5eX216CitYHPFNMA67Rg/qqe9OF oBAXRuwMFqWXOw2iGxTgEZSu3jLttcDMvNR9kgE/Hq8LTfmsQyNgbonqPg6671T4sbU4 zF4I5ffPfZ3Mi2nsS73Z6PNlN5k7PR239DsfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tMoLR4BC/7nRx6JxB5JR8b1kEEAF5vCeEMxS73ejZTEU2uOencJ9nxuOmFjYIRkMdV mGK6+37PE3rmFjezlPdwet0OIBKqJYrUrlGxW+xc1Hu8vjgun6nMptx/Ub3Bv1R/CaBM CxF5Kqu0BSg0vn0R6K6K8ml+79gFPdVT8vjTI= MIME-Version: 1.0 Received: by 10.204.33.74 with SMTP id g10mr2315228bkd.131.1292434672036; Wed, 15 Dec 2010 09:37:52 -0800 (PST) Received: by 10.204.77.198 with HTTP; Wed, 15 Dec 2010 09:37:51 -0800 (PST) In-Reply-To: References: Date: Wed, 15 Dec 2010 10:37:51 -0700 Message-ID: Subject: Re: ActiveMQ consumer performance and scalability From: Bruce Snyder To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Dec 15, 2010 at 10:32 AM, Stanislaw Kogut wrote: > I already tried every topic here, with no significant effect. > I'm already using KahaDB for peristence (even placing it's data to tmpfs). > I can't use async send/receive, as I need reliable transport. > I'm using transactions (this is a requirement). How about your KahaDB settings? Try this: > What about multiple consumers? Should they use one or many different > connection factories or sessions to consume faster? Creating multiple sessions from a single connection works well. Bruce -- perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E