Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 40549 invoked from network); 6 Apr 2010 08:53:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 08:53:19 -0000 Received: (qmail 70343 invoked by uid 500); 6 Apr 2010 08:53:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 70274 invoked by uid 500); 6 Apr 2010 08:53:16 -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 70261 invoked by uid 99); 6 Apr 2010 08:53:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 08:53:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chubrilo@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 08:53:10 +0000 Received: by fxm4 with SMTP id 4so3020946fxm.6 for ; Tue, 06 Apr 2010 01:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:content-type; bh=ZHHziRVvEq96U9sD9TsrTdM1I9DJbUZ7H27QxHpoufY=; b=boyAMhwN0KOixQfKm5MdrN7SsFDfaVTSG4uCRNTGiTN/cFXusToD+W2StqYJo1nyMP fVYI/a8EMTRovFLDdM+2dwiN0i/q51funHqzXilZNpzJdBV/+lyBnskecd5uCMIqzKGL 9ZidaY5sWF2BbE9EYhkT7idVsSKw7RKl2+HGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Up9kRgTIAbHSI2pu/CdvvVRTq4b8uiuxRHDao53tR1G/ttCAJQDq16OKAyBlDi4FSm Ad3Fg2OEQJ472B5Cm5kONmoYY/yJZJDwUeKM5nef+NWloFKUxReUH+qNxjXVa0YFwMpk sgi8MCbWCi/GQrpRz/pqQHwCIX/MhUae0Ib+w= MIME-Version: 1.0 Sender: chubrilo@gmail.com Received: by 10.239.182.206 with HTTP; Tue, 6 Apr 2010 01:52:50 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Apr 2010 10:52:50 +0200 X-Google-Sender-Auth: 560ccec2ef910f9a Received: by 10.239.136.9 with SMTP id f9mr631562hbf.3.1270543970188; Tue, 06 Apr 2010 01:52:50 -0700 (PDT) Message-ID: Subject: Re: Which Persistence Adapter to Use for Shared File System Master/Slave From: Dejan Bosanac To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001485f1d77403c03b04838d92a7 X-Virus-Checked: Checked by ClamAV on apache.org --001485f1d77403c03b04838d92a7 Content-Type: text/plain; charset=ISO-8859-1 Hi, for shared filesystem master slave setup you should use either KahaDB (from 5.3.0 on) or ActiveMQ persistence adapter (on earlier versions). If you plan to have shared database master slave, that you should use JDBC persistence adapter (without journaling). Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Apr 5, 2010 at 9:36 AM, Feng AtWork wrote: > Hi, There, > > I have been evaluating ActiveMQ for our new project for the past few weeks, > and I cannot find a conclusive answer about exactly which persistence > adapters can be used with a shared file system master/slave set up. > > There seems to be some conflicting information out there, for example: > > 1) according to Bruce Snyder in this thread, > > http://markmail.org/message/ldjoyewy3jczcaai?q=shared+file+system++list:org.apache.activemq.users > , > it seems journaledJBDC can only be used with shared JDBC master/slave, > > but 2) the example in > http://activemq.apache.org/shared-file-system-master-slave.html shows to > use > just the journaledJDBC adapter with shared file system master/slave; > > and 3), according to the same thread in 1), AMQ persistence should be used > with shared file system master/slave. > > And what about kahaPersistenceAdapter, it is file based, but the above > thread mentions http://activemq.apache.org/kahadb-master-slave.html, which > uses zookeeper and is not supported. > > Finally, what is the different between kahaPersistenceAdapter in > and just kaha in directory="activemq-data" journalMaxFileLength="32mb"/>. Are > kahaPersistenceAdater and kahaDB the same thing? If > kahaPersistenceAdapter > cannot be used with shared file system JDBC, can kahaDB be used instead? > > Any clarification will be much appreciated. We load tested journaledJDBC > with default derby data source and an Oracle data source, the performance > were not satisfactory. > > Thanks. > > -Feng > --001485f1d77403c03b04838d92a7--