You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "Cooper, Jeremy" <je...@retirementpartner.com> on 2006/10/10 20:09:54 UTC

Indexed Disk Cache?

Hi,

Could there be problems with a implementation of JCS Indexed Disk Cache
that is updated/referenced by multiple JVMs?  

For example:  We have 12 different JVMs using JCS all of them are hosted
on the same physical machine.  Each JVM uses the same cache.ccf that has
an auxiliary disk cache pointing to the same file location.

Thanks,
Jeremy


The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information.

This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use.

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Re: Indexed Disk Cache?

Posted by Aaron Smuts <as...@yahoo.com>.
They each need a different directory.  The keys and
offset are stored in memory, in a single VM.  They are
not shared.  You cannot share a disk file between vms.

I run multiple tomcat instances per box.  I write the
disk cache to the work directory for each.

--- "Cooper, Jeremy"
<je...@retirementpartner.com> wrote:

> Hi,
> 
> Could there be problems with a implementation of JCS
> Indexed Disk Cache
> that is updated/referenced by multiple JVMs?  
> 
> For example:  We have 12 different JVMs using JCS
> all of them are hosted
> on the same physical machine.  Each JVM uses the
> same cache.ccf that has
> an auxiliary disk cache pointing to the same file
> location.
> 
> Thanks,
> Jeremy
> 
> 
> The information contained in this message and any
> accompanying attachments may contain privileged,
> private and/or confidential information protected by
> state and federal law. Penalties may be assessed for
> unauthorized use and/or disclosure. This message and
> any attachments are intended for the designated
> recipient only. If you have received this
> information in error, please notify the sender
> immediately and return or destroy the information.
> 
> This e-mail transmission and any attachments are
> believed to have been sent free of any virus or
> other defect that might affect any computer system
> into which it is received and opened. It is,
> however, the recipient's responsibility to ensure
> that the e-mail transmission and any attachments are
> virus free, and the sender accepts no responsibility
> for any damage that may in any way arise from their
> use.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jcs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jcs-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org