Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 57611 invoked from network); 20 Jul 2006 05:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2006 05:18:35 -0000 Received: (qmail 30022 invoked by uid 500); 20 Jul 2006 05:18:35 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 29999 invoked by uid 500); 20 Jul 2006 05:18:34 -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 29990 invoked by uid 99); 20 Jul 2006 05:18:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 22:18:34 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 22:18:32 -0700 Received: by nf-out-0910.google.com with SMTP id y38so404242nfb for ; Wed, 19 Jul 2006 22:18:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nUtQFrC8e2o2RXTsYWbQ+VybX+K3q5oiduGcCdblmEwlsnDIC3gFVngjFrkORZT2LkDKcxC//mNoAAjB/dcWHJcfz3jusW3O/vOmxOWlrrEYFNq/EwPtIPzv7pwK8ruze9a7fQZdK3kAqKSW9iGyN16Fm2SWa+9I3yfVCddoI3E= Received: by 10.78.156.6 with SMTP id d6mr98690hue; Wed, 19 Jul 2006 22:18:10 -0700 (PDT) Received: by 10.78.174.8 with HTTP; Wed, 19 Jul 2006 22:18:10 -0700 (PDT) Message-ID: Date: Thu, 20 Jul 2006 06:18:10 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: Clean deregistration of publishers In-Reply-To: <5409052.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: <5390888.post@talk.nabble.com> <5392548.post@talk.nabble.com> <5409052.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 7/20/06, Kuppe wrote: > > One final question on this topic - is there additional technical overhead in > the broker managing large numbers of topics, for example one topic per user > per symbol? Of course this could grow very quickly with the number of > users... Topics are intended to be consumed by many consumers; so 1 topic per symbol is fine. You can then use the last image caching to get a market data cache as well :) http://incubator.apache.org/activemq/subscription-recovery-policy.html > There is certainly an administrative/support overhead in that monitoring the > number of topics through a JMS console will be more cumbersome, but this is > another story... Any thoughts on how best to handle this? So I really just mean on startup... * subscribe to the advisory topics you're interested in * connect to the broker via JMX and query the current consumer state * now just watch advisories Otherwise your program could terminate, restart and miss messages. i.e. think of it as using JMX as your 'last image cache'.. -- James ------- http://radio.weblogs.com/0112098/