Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B25C10230 for ; Wed, 15 Oct 2014 12:45:04 +0000 (UTC) Received: (qmail 23678 invoked by uid 500); 15 Oct 2014 12:45:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 23630 invoked by uid 500); 15 Oct 2014 12:45:03 -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 23617 invoked by uid 99); 15 Oct 2014 12:45:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 12:45:03 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,URI_TRY_3LD X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marco.sacchetto81@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 12:44:37 +0000 Received: by mail-lb0-f173.google.com with SMTP id 10so946614lbg.4 for ; Wed, 15 Oct 2014 05:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=qdEuvMGqVKa7H6dz4i3er9o9ATDfmcluOwD5iVKvFEo=; b=zIaAeRrKaCTBXf8aaBM6LQExZaq12pLMBN0IkwvBaWESa+hL+h3GPlIulI0ZDeCZ97 0JA1hA/UmR7lymiC/qvFbZ92c64UXwimKimIvbv6x84asUyy/z+tosuANjwcQKLjPMpg Jd0JeYJOYhc/wK/OwGpTKtjuW7qFKoLGGPHx7hphbtyCuPwWcg6uHn/rCbA0aZ+pj2ag KaqNHc9at8nx+aP0s9UrIxuKoAOG5i+wdlGSEZ0/EL51QyegFZVhdyV8RzvZSOCCBiw7 EwdUwfnLzz0y+Dv9G+ZvsiYYphfgW1XGLXMpPnUinlLWA3iuv+yqS1loFgDnYge7CtUg M2rw== MIME-Version: 1.0 X-Received: by 10.152.27.38 with SMTP id q6mr2773330lag.92.1413377075803; Wed, 15 Oct 2014 05:44:35 -0700 (PDT) Sender: marco.sacchetto81@gmail.com Received: by 10.25.156.131 with HTTP; Wed, 15 Oct 2014 05:44:35 -0700 (PDT) In-Reply-To: <1413369351566-4686409.post@n4.nabble.com> References: <1413356949746-4686401.post@n4.nabble.com> <1413366578185-4686405.post@n4.nabble.com> <1413369351566-4686409.post@n4.nabble.com> Date: Wed, 15 Oct 2014 14:44:35 +0200 X-Google-Sender-Auth: vox1jz0KL1EVlv7G_uqcU9UI2XI Message-ID: Subject: Re: Avoiding shared state between master and slave brokers From: Marco Sacchetto To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=089e0158bdea897bcc0505757e6a X-Virus-Checked: Checked by ClamAV on apache.org --089e0158bdea897bcc0505757e6a Content-Type: text/plain; charset=UTF-8 The caveauts are here, http://activemq.apache.org/replicated-leveldb-store.html , at the bottom of the page. For the rest, network of brokers and master/slave systems are complementary solutions, aimed at different problems. Generally, a network of brokers provides scalability, while master/slave provides HA when you're facing particularly important (and as such, persistent) messages. The type of replication in master/slave is another issue; for sure going by leveldb you save yourself from depending on a single point providing the storage (important when you can't or don't want to rely on the storage provider, as with cloud computing resources). But on the other hand I wouldn't define it a "simple" solution; consider that the zookeeper service will have to be mantained as well, will use computing and network resources, and will require a minimum of 3 nodes in a HA environment. All in one, I'd say that there's no perfect fit, you should aim at the solution which best fits your needs and expectations. Marco S. 2014-10-15 12:35 GMT+02:00 deepakkumarpitti : > Thanks. I agree. I just wanted to be sure that there is nothing like that > available with kahadb before using leveldb based replicated store. > > Please let me know if there are any known caveats/limitations/issues with > using leveldb based store instead of kahadb. For e.g. One thing I am aware > of is that there is no multi-levelDB like multikahadb or mkahadb > persistence > adapter to separate out data for different destinations in different > directories. > > Also, my requirement is mainly high availability (wherein one broker goes > down and another is ready to take over with replicated state) and not > scaling -- this can be achieved with simpler Replicated LevelDB store as > well as with complex network of brokers topology. My understanding is that > using replicated leveldb store is more simpler (in terms of maintaining, > managing, monitoring and debugging issues) and recommended here instead of > using network of brokers. Please let me know if I am missing something > here. > > Thanks, > Deepak > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Avoiding-shared-state-between-master-and-slave-brokers-tp4686401p4686409.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --089e0158bdea897bcc0505757e6a--