Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 31238 invoked from network); 27 Aug 2009 13:35:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 13:35:51 -0000 Received: (qmail 26076 invoked by uid 500); 27 Aug 2009 13:35:50 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 26011 invoked by uid 500); 27 Aug 2009 13:35:50 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 26001 invoked by uid 99); 27 Aug 2009 13:35:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 13:35:50 +0000 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: local policy) Received: from [209.191.125.84] (HELO web38708.mail.mud.yahoo.com) (209.191.125.84) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 27 Aug 2009 13:35:41 +0000 Received: (qmail 19950 invoked by uid 60001); 27 Aug 2009 13:35:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251380120; bh=mm/MaISamwNcKQKzXXHJ7qETn1IA5ZbI6n2zlM3R9mI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2C7+tD7vcc/rUxUGlaVZmoIzUuNqSw3CuANjLKQtxuu37Gr/CWjiYVWWvAzZZlmReL17NdlcXPxQN6QD4OuqyOZnQk66rzGSVSLHFnyI5/7cFt9PjgM3H7C2XY5ScJYYz5ey7E1aEoAqHwtrjMAo+/pyQLEOLLLP4fvqDdvYfOI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HoQ1NUdWMMAEH6dFfW/tJwCIFwiJe3wBdjv3j/Up1rA1grVpV+2DPb3hYmXb/ClLcxmrReJJM4vNlWgaJzT+E+JJ03ONtLHdsBWKlcD9RqCnJvhvIPFOpnCpIxOFLLoOlYitF3lBpCwh+/+txkGchMsdLYggKbqiCnTPERWCLP0=; Message-ID: <241807.19199.qm@web38708.mail.mud.yahoo.com> X-YMail-OSG: _s_dbKUVM1kH0CKj9Qvp7WEuDIb3niT4gRNO6jPKBZECz3a4QrZ1VoViHjnNBfIqwUOOausUJnCt5l1LVdnVEkA492vX00uHGvDJhOsOZ3KcN48zMuh7zlmRIDcs8daLNMsFOX0G8_R7..vVvo9iBiBk.yjKKSBpzbRHH3NvoKD2ho.10VpEJxVh4nGfCFJFgNeaKqD30WdcBY63WXu4qhMpvCJmmCOAvLNgLIxt8y3bBl.nrEZoqWa_aTEY.8bvoxolxrJfXJ2ASiyuSqLa9xvn8IeItxKt3QpMlXthGJUBL_X374UK_2RLCL0B1kPQhkqz8lJ5D.79txpTTFhvFWsG6MzqOMHcK6gEjmsRnWLMUXCP Received: from [151.193.220.29] by web38708.mail.mud.yahoo.com via HTTP; Thu, 27 Aug 2009 06:35:20 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Thu, 27 Aug 2009 06:35:20 -0700 (PDT) From: Aaron Smuts Subject: Re: Configure JCS in horizontally clustered environment To: JCS Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The disk file cache is useful if you have a few huge items. It doesn't sou= nds like what you need. Use the JDBC disk cache, the lateral tcp cache, or= use a remote cache.=0A=0AAaron=0A=0A--- On Thu, 8/27/09, rushi kumar wrote:=0A=0A> From: rushi kumar = =0A> Subject: Re: Configure JCS in horizontally clustered environment=0A> T= o: "JCS Users List" =0A> Date: Thursday, Augu= st 27, 2009, 4:14 AM=0A> Thanks Tore for your suggestion. I=0A> think this = will not work in my case as I=0A> need to keep many items in the region.If = you are already=0A> using this, please=0A> let me know how many items can b= e stored in disk file=0A> cache.=0A> =0A> Thanks,=0A> Rushi=0A> =0A> On Wed= , Aug 26, 2009 at 8:49 PM, Tore Halset =0A> wrote:=0A> = =0A> > Hello.=0A> >=0A> > The disc file cache should work across different = JVMs.=0A> I am still using my=0A> > own version, but Aaron checked in a str= eamlined=0A> version to jcs.=0A> >=0A> > Each cache item is stored as a sep= arate file, so you=0A> should take care that=0A> > the cache are not storin= g more files then the file=0A> system can handle.=0A> > Different file syst= ems have different limitations..=0A> >=0A> > https://issues.apache.org/jira= /browse/JCS-58=0A> >=0A> > Regards,=0A> >=A0 - Tore.=0A> >=0A> >=0A> > On 2= 4. aug.. 2009, at 16.19, Aaron Smuts wrote:=0A> >=0A> > I don't fully under= stand your message.=A0 But it=0A> sounds as if you are trying=0A> >> to sha= re the disk cache.=A0 That cannot be=0A> done.=A0 You cannot share the inde= xed=0A> >> disk cache between different JVMs.=A0 It keeps=0A> the index, th= e keys in memory.=0A> >> . . .=0A> >>=0A> >> If you want to share items, yo= u have to use a=0A> lateral or remote auxiliary.=0A> >>=A0 Alternatively, y= ou could use the JDBC disk=0A> cache.=0A> >>=0A> >> Aaron=0A> >>=0A> >> ---= On Thu, 8/20/09, rushi kumar =0A> wrote:=0A> >>=0A>= >> From: rushi kumar =0A> >>> Subject: Configure JC= S in horizontally=0A> clustered environment=0A> >>> To: jcs-users@jakarta.a= pache.org=0A> >>> Date: Thursday, August 20, 2009, 10:35 PM=0A> >>> I have = configure JCS in my=0A> >>> application and deployed on horizontally=0A> >>= > clustered environment. As per this, it=0A> contains multiple=0A> >>> phys= ical machines=0A> >>> (nodes). The cluster-enabled application is=0A> deplo= yed to=0A> >>> each node and is=0A> >>> available for requests. A load bala= ncer=0A> provides workload=0A> >>> management by=0A> >>> distributing reque= sts to the various nodes.=0A> >>> I am using indexed disk cache in the=0A> = aplication and the *=0A> >>>=0A> jcs.auxiliary.DC.attributes.DiskPath=3D/Ro= otdir/Test/cache*=0A> >>> is shared by both=0A> >>> the physical machine. C= urrently the cached=0A> objects are not=0A> >>> being shared by=0A> >>> the= both the nodes. It looks as if the caching=0A> is working=0A> >>> properly= on one=0A> >>> physical server , but the cache is not updated=0A> on the= =0A> >>> second physical=0A> >>> server.=0A> >>>=0A> >>> I would like to kn= ow if there's a way to=0A> configure JCS to=0A> >>> run on=0A> >>> horizont= ally clustered environment.=0A> >>> My apologizes if these questions have a= lready=0A> been posted=0A> >>> and answered.=0A> >>>=0A> >>>=0A> >>=0A> ---= ------------------------------------------------------------------=0A> >> T= o unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org=0A> >> For = additional commands, e-mail: jcs-users-help@jakarta.apache.org=0A> >>=0A> >= >=0A> >>=0A> >=0A> >=0A> --------------------------------------------------= -------------------=0A> > To unsubscribe, e-mail: jcs-users-unsubscribe@jak= arta.apache.org=0A> > For additional commands, e-mail: jcs-users-help@jakar= ta.apache.org=0A> >=0A> >=0A> --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org