Hello.

The disc file cache should work across different JVMs. I am still using my own version, but Aaron checked in a streamlined version to jcs.

Each cache item is stored as a separate file, so you should take care that the cache are not storing more files then the file system can handle. Different file systems have different limitations..

https://issues.apache.org/jira/browse/JCS-58

Regards,
 - Tore.

On 24. aug.. 2009, at 16.19, Aaron Smuts wrote:

I don't fully understand your message. But it sounds as if you are trying to share the disk cache. That cannot be done. You cannot share the indexed disk cache between different JVMs. It keeps the index, the keys in memory. . . .

If you want to share items, you have to use a lateral or remote auxiliary. Alternatively, you could use the JDBC disk cache.

Aaron

--- On Thu, 8/20/09, rushi kumar <rushikum...@gmail.com> wrote:

From: rushi kumar <rushikum...@gmail.com>
Subject: Configure JCS in horizontally clustered environment
To: jcs-users@jakarta.apache.org
Date: Thursday, August 20, 2009, 10:35 PM
I have configure JCS in my
application and deployed on horizontally
clustered environment. As per this, it contains multiple
physical machines
(nodes). The cluster-enabled application is deployed to
each node and is
available for requests. A load balancer provides workload
management by
distributing requests to the various nodes.
I am using indexed disk cache in the aplication and the *
jcs.auxiliary.DC.attributes.DiskPath=/Rootdir/Test/cache*
is shared by both
the physical machine. Currently the cached objects are not
being shared by
the both the nodes. It looks as if the caching is working
properly on one
physical server , but the cache is not updated on the
second physical
server.

I would like to know if there's a way to configure JCS to
run on
horizontally clustered environment.
My apologizes if these questions have already been posted
and answered.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jcs-users-h...@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jcs-users-h...@jakarta.apache.org

Reply via email to