Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 33577 invoked from network); 13 Jun 2008 20:19:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2008 20:19:16 -0000 Received: (qmail 95140 invoked by uid 500); 13 Jun 2008 20:19:19 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 95130 invoked by uid 500); 13 Jun 2008 20:19:19 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 95119 invoked by uid 99); 13 Jun 2008 20:19:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 13:19:18 -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 murray07@altheim.com designates 69.90.72.72 as permitted sender) Received: from [69.90.72.72] (HELO athens.clusterspan.net) (69.90.72.72) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 20:18:27 +0000 Received: (qmail 4252 invoked from network); 13 Jun 2008 16:18:43 -0400 Received: from ip-118-90-61-252.xdsl.xnet.co.nz (HELO ?192.168.1.65?) (118.90.61.252) by athens.clusterspan.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Jun 2008 16:18:42 -0400 Message-ID: <4852D61F.9040105@altheim.com> Date: Sat, 14 Jun 2008 08:18:39 +1200 From: Murray Altheim User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: jspwiki-dev@incubator.apache.org Subject: Re: Is ReferenceManager clusterizable? References: <627F0A62-7B7D-49F2-9D96-69281444ACA9@ecyrd.com> In-Reply-To: <627F0A62-7B7D-49F2-9D96-69281444ACA9@ecyrd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Janne Jalkanen wrote: [...] > However, note that ReferenceManager is really only a local cache for the > references. This means that if you're distributing JSPWiki across > multiple machines, it's fine that every single one of them has a local > copy of the references. All you have to probably do is to ensure that > each and all of them have a similar copy across multiple instances. > This can be relatively easily done by e.g. making the work directory the > same for all instances - you might need to add locking, though. > > Note also that JSPWiki should be able to pick up changes in the > repository automatically, so if you change one page, the other instances > should be able to pick the changes up and also update the local > reference cache. By default, the checking interval is 30 seconds since > last access and this can be tuned in jspwiki.properties. I've got nothing distributable at this point, but one of the approaches I'm taking to what is essentially multiple wiki synchronization is to add an EventListener for page changes that sends out an web service notice to the other wiki(s) with the list of page changes. Those messages are cached and when time is available the receiving wiki updates its pages via XML-RPC. I've got an upcoming project where something like this happens but it's not meant for synchronization but to alert the community of wiki admins (across multiple wikis) that there is a change to one of the collective-community's pages. I.e., the initial group of wikis begin with an identical set of pages and we track how they differ over time. An interesting project... Murray ........................................................................... Murray Altheim === = = http://www.altheim.com/murray/ = = === SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = = Boundless wind and moon - the eye within eyes, Inexhaustible heaven and earth - the light beyond light, The willow dark, the flower bright - ten thousand houses, Knock at any door - there's one who will respond. -- The Blue Cliff Record