Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 43853 invoked from network); 21 Mar 2006 12:11:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Mar 2006 12:11:11 -0000 Received: (qmail 69082 invoked by uid 500); 21 Mar 2006 12:11:10 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 68972 invoked by uid 500); 21 Mar 2006 12:11:10 -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 68961 invoked by uid 99); 21 Mar 2006 12:11:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 04:11:10 -0800 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 xleyba@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO zproxy.gmail.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 04:11:09 -0800 Received: by zproxy.gmail.com with SMTP id 13so1434395nzp for ; Tue, 21 Mar 2006 04:10:49 -0800 (PST) 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=UeW7VsWlNnUsfikbxGeTc48oKX7wGcMZ3obPQljK+1Pz3DrCOO910CONgeF2FIk9lWYL7oN/gbkQSg054XlxikvMnnk64bfjPEy3cCKOWpcYnr2DMm3qRDBoTqXZ+GnlhoW7u83vtt7W/TjMj4FJc7X89SAeFHbErSrP/jICklI= Received: by 10.65.203.12 with SMTP id f12mr133630qbq; Tue, 21 Mar 2006 04:00:48 -0800 (PST) Received: by 10.65.251.16 with HTTP; Tue, 21 Mar 2006 04:00:48 -0800 (PST) Message-ID: <933f2a180603210400r5d524590mb9c163964b8fe445@mail.gmail.com> Date: Tue, 21 Mar 2006 13:00:48 +0100 From: "Javier Leyba" To: activemq-users@geronimo.apache.org Subject: Re: Architecture doubt In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <933f2a180603210045x35afef8fi2203fa6fa3afd631@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry, but I forgot to tell you my clients will be 100% consumers except on= e. J On 3/21/06, James Strachan wrote: > Absolutely; you should be able to make a network of master/slave > brokers. A master/slave pair acts as a logical broker - so you should > be able to network them. > > BTW what kind of load do you expect? Are the 10K clients mostly > consumers or are they all publishing etc? e.g. what kinds of > messages/second are you thinking of. > > Depending on your OS and the hardware you're running it on, a single > broker could deal with 10K clients - its mostly an issue of can the > broker deal with the IO load, the number of threads & mostly the > number of sockets that the broker can deal with; but its likely you'll > want a few less clients per broker - maybe 1-4K per broker. > > James > > On 3/21/06, Javier Leyba wrote: > > Hi All > > > > > > I'm planning to use ActiveMQ in a big environment with more than 10 > > thousands clients subscribed to topics. > > > > Obviously, I'll need HA and some kind of load balancing. > > > > I've tested a master/slave architecture and it worked (i've problems > > with my listener now, but it worked). > > > > I've tested a net of workers too and it works balancing data. > > > > But now I've a big problem. If I use a master/slave option, my server > > will be receiving a lot of work, specially when clients starts their > > job at 8am. I really don't know if a broker will work well against > > such heavy load. The way to avoid this is to have a net of brokers > > with n brokers receiving the heavy load in a balanced way, but a net > > of workers give no HA. > > > > Now I think my solution could be a mix of both scenarios and I want to > > ask: Could I make a net of brokers where each broker be a master/slave > > node ? Is this possible ? > > > > Do somebody have another idea to construct my environment ? > > > > Thanks in advance > > > > J > > > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ >