From users-return-6738-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Mar 10 16:24:08 2008 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 48648 invoked from network); 10 Mar 2008 16:24:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2008 16:24:08 -0000 Received: (qmail 77887 invoked by uid 500); 10 Mar 2008 16:24:04 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 77872 invoked by uid 500); 10 Mar 2008 16:24:04 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 77863 invoked by uid 99); 10 Mar 2008 16:24:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 09:24:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.tom.mueller@gmail.com designates 72.14.204.224 as permitted sender) Received: from [72.14.204.224] (HELO qb-out-0506.google.com) (72.14.204.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 16:23:28 +0000 Received: by qb-out-0506.google.com with SMTP id p36so1854669qba.13 for ; Mon, 10 Mar 2008 09:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=PWEc/rL7KXCIiEr/rGMAjlgg/cegeDzWNp1ONjA7Xn4=; b=S0s/YFS6lrACzigc+Jk9T3ghHlwT4U7RALw//7trMABxLAPdR49TaimQD8Iujp9KjG3lOplBG1XPfuFafkET1K6ReSSqy4WdgxCmD1VgI54Ny7A8YiESE/1xKXdhGEqSAUN+ci644tRkl3RPW5YZqNtGC0nMwM0Fs5ivrp8bMi8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O4rTnW7AxoTfVKdAiHecsxuNMQc79B/+gRcGCAJOML28GQk9ID6yTwUPCfTAtzAGdX50a/1ztonbjRdDsG+cveAOUs8ZmFsXD4wnnqsAXQN3LcxvLTVnJYvrT+VRjGXzV24dxMqbjQuXjWIMxgf5X+4F406L2sMdono9t1zc08w= Received: by 10.142.179.12 with SMTP id b12mr1882095wff.88.1205166216731; Mon, 10 Mar 2008 09:23:36 -0700 (PDT) Received: by 10.142.156.15 with HTTP; Mon, 10 Mar 2008 09:23:36 -0700 (PDT) Message-ID: <5f211bd50803100923v75e22aa5m38471b7215252b23@mail.gmail.com> Date: Mon, 10 Mar 2008 17:23:36 +0100 From: "Thomas Mueller" To: users@jackrabbit.apache.org Subject: Re: Multiple PersistenceManagers In-Reply-To: <7c31ed2d0803100907v59e5724eo2fd3061925c2be60@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7c31ed2d0803100905g668ddb88j2d5fc0db0c754898@mail.gmail.com> <7c31ed2d0803100907v59e5724eo2fd3061925c2be60@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm not sure if you have read: http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ specially 'Consistency / Atomicy' > So is it possible to maintain 2 PersistenceManagers You could write a 'DualPersistenceManager' that stores everything in both PMs but only reads from one. I did that once; the problem is configuration (how to configure both at the same time). Regards, Thomas On Mon, Mar 10, 2008 at 5:07 PM, Corn=E9 A wrote: > Hi, > > We have a dispute amongst our developers and can't decide on wich > PersistenceManager to use on a run a linux 10 box. > > some are in favor of a Database PM > (org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager) > and some for the File-System PM. > > Main arguments concern performance and backup. > > Since I think just using both in real-life will resolve the issue. > So is it possible to maintain 2 PersistenceManagers so we can still > make a switch. > > Thanks > Corn=E9 >