Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 37839 invoked from network); 11 Jul 2007 18:56:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2007 18:56:12 -0000 Received: (qmail 31959 invoked by uid 500); 11 Jul 2007 18:56:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 31933 invoked by uid 500); 11 Jul 2007 18:56:14 -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 31924 invoked by uid 99); 11 Jul 2007 18:56:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 11:56:14 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 11:56:11 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I8hLq-0008Hh-2f for users@activemq.apache.org; Wed, 11 Jul 2007 11:55:50 -0700 Message-ID: <11546696.post@talk.nabble.com> Date: Wed, 11 Jul 2007 11:55:50 -0700 (PDT) From: ksu To: users@activemq.apache.org Subject: Re: Network of Brokers & Master / Slave In-Reply-To: <46951D2E.2050200@raytheon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ksusweep@yahoo.com References: <11545494.post@talk.nabble.com> <46951D2E.2050200@raytheon.com> X-Virus-Checked: Checked by ClamAV on apache.org The desires are: 1) Use zeroconf for brokers to discovery each other in the network 2) Use zeroconf for message clients to auto-discover brokers it can connect to 3) Each broker in the network should (optionally) be highly reliable to avoid message loss by replicating its message store. 4) the infrastructure should be scalable and be able to increase message handling capacity by simply adding more nodes without changing any static configuration. #2 is an issue here. If a message client is configured to connect to a specific M/S cluster, it's not an issue... but if a client is made to auto discover brokers and can switch to any arbitration M/S cluster in the network, there is a racing condition between a slave taking over as as the new master in its cluster and the message client switching away to another borker. If the later occurred first, then the client may loss messages as a result. Therefore, I'll assume #2 is not possilbe in this case, and a message client must specify failover as the protocol and spell out the list of hosts in the master / slave pairs? Kit Plummer wrote: > > ksu wrote: >> Is it possible to have a Network of Brokers where each of the brokers is >> a >> cluster of (File sharing) Master / Slave cluster? >> >> The idea here to to build a system that has good performance >> characteristics >> and can be scaled easily by simply adding more brokers. >> >> I see a couple of potential issues with this and am wondering if anyone >> has >> already tried to build something similar. >> > > The short answer is yes. You can manage the links between each broker > and create hierarchies to your hearts desire. Performance _is_ an issue > - especially if you are bandwidth conscious. You'll need to manage, as > appropriate, what endpoints/destinations are allowed to be "shared" > across your infrastructure (between each broker link). > > I'm not exactly sure how the master/slave system can accommodate > horizontal tiers...sorry. > > Kit > > > -- View this message in context: http://www.nabble.com/Network-of-Brokers----Master---Slave-tf4063571s2354.html#a11546696 Sent from the ActiveMQ - User mailing list archive at Nabble.com.