Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 60414 invoked from network); 30 May 2006 23:08:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 23:08:20 -0000 Received: (qmail 90301 invoked by uid 500); 30 May 2006 23:08:19 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 90280 invoked by uid 500); 30 May 2006 23:08:19 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 90270 invoked by uid 99); 30 May 2006 23:08:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 16:08:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chirino@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO nz-out-0102.google.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 16:08:16 -0700 Received: by nz-out-0102.google.com with SMTP id j2so1005450nzf for ; Tue, 30 May 2006 16:07:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=diJv9HkWgDd/V3C7gVUQE6yamkbxl2pULCsMtoCIiTTbasu8X2RnA+WGBHk/85xo8ODErZYqBAXLxmTVf2VUKn6F8ei9D2qolU+bJGcY3vyihUqqYvcjL7tYZaIkg/SSI2OzTyH2oEc10j0DHMxExTIZc/cQ65LPDLD/shOepik= Received: by 10.64.148.17 with SMTP id v17mr2356404qbd; Tue, 30 May 2006 16:07:55 -0700 (PDT) Received: by 10.65.218.1 with HTTP; Tue, 30 May 2006 16:07:55 -0700 (PDT) Message-ID: Date: Tue, 30 May 2006 19:07:55 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: neural net using topics? In-Reply-To: <4634774.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4634774.post@talk.nabble.com> X-Google-Sender-Auth: f0d455c1d47d581c X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 5/30/06, jordan woerndle wrote: > > I'd like to start out by pleading JMS ignorance and apologizing for my > generic question... I'm really just looking for some suggestions on how I > can get better performance out of a wacky activeMQ app. > > I have a bunch of "Filters" that listen for and broadcast messages on many > Topics. I want each filter to be able to listen to many topics, and > periodically fire a message off onto one-to-many topics. It kind of looks > like a network of neurons passing messages around and making decisions > (think distributed bayesian filter.) > > Currently, each of my filters subscribes to one topic. Each will > periodically publish a message to one other topic and send a "status" > messsage to a "status" topic. I can run about 30 "Filters" (they are doing > no processing) with about 30 topics.. i can push about 90 messages a second. > I'd like to do a lot more and listen,broadcast to more topics. So is that 90 mess/sec * 30 filters = 2700 msg/sec total? With topics we typically see performance in the order of 1000's of messages/sec. Are you CPU constrained or IO? > > I am running activeMQ 4.0 M4 using non-persistent messaging, windows XP, > jdk1.5.0 on one machine using one broker started from the command line using > the default out-of-the-box configuraiton. Everything I know i learned from > the examples on the site. If it helps, I don't really care if I drop a few > messages. > I would upgrade to the listed at latest http://incubator.apache.org/activemq/download.html > What's the first step to increase throughput? Should I put the broker on a > different machine? Should I try to split my topics up between several > brokers? > Splitting the topics sometimes helps.. You can also decrease CPU usage by avoiding marshalling by using the vm:// transport. > Thanks a lot! > Jordan > -- > View this message in context: http://www.nabble.com/neural+net+using+topics--t1707208.html#a4634774 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- Regards, Hiram