Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 27367 invoked from network); 17 Jun 2008 10:15:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2008 10:15:52 -0000 Received: (qmail 15396 invoked by uid 500); 17 Jun 2008 10:15:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 15369 invoked by uid 500); 17 Jun 2008 10:15:53 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 15332 invoked by uid 99); 17 Jun 2008 10:15:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 03:15:53 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 10:15:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70720234C147 for ; Tue, 17 Jun 2008 03:15:00 -0700 (PDT) Message-ID: <263990049.1213697700457.JavaMail.jira@brutus> Date: Tue, 17 Jun 2008 03:15:00 -0700 (PDT) From: "Daniel Rodrigues (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-816) new transport for load balancing client requests across many brokers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43517#action_43517 ] Daniel Rodrigues commented on AMQ-816: -------------------------------------- Hi, would this include also tackling the problem that having a persistent consumer on one broker he won't be forwarded the messages that were persisted in some other? I am thinking about the following case: we have a network of brokers, say brokerA and brokerB. A consumer subscribes with a unique id client1:subscription1 to brokerB. Therefore, if offline, messages will be persisted on brokerB. After a while, brokerB goes down, and the same consumer fails over to brokerA. He's able to receive all new messages, but will not receive persisted messages when brokerB comes back to life. What I would like to see is basically a consumer be recognized as unique over an entire network of brokers and not just on one broker, so messages persisted in one broker could also be forwarded whenever a durable subscription would appear somewhere else on the network. Thank you! daniel > new transport for load balancing client requests across many brokers > -------------------------------------------------------------------- > > Key: AMQ-816 > URL: https://issues.apache.org/activemq/browse/AMQ-816 > Project: ActiveMQ > Issue Type: Improvement > Reporter: James Strachan > Assignee: Rob Davies > Fix For: 5.2.0 > > > Rather than creating store and forward networks, it might be nice to have a kind of composite transport where... > * consumers are created on each broker found/discovered. This allows messages to be sent to any broker and consumed by any consumer > * producers could dynmically choose which broker to send a message to (or could just pick one broker per session/producer) > this allows for a load balancing layer at the client side which avoids the need for store/forward networks (which results in more network traffic and often increases load on the brokers). > So it basically pushes load back to the clients. The downside of this appoach is that the clients have more connections to brokers - but given the linear scalability of this, it sounds a great idea to me at least :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.