You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by mp...@lineone.net on 2004/02/17 10:59:05 UTC
Restarting machines - keeping the cache.
Hi,
I wonder if anyone can help me. I am using the JCS TCPLateral cache which
seems to work ok. However, when I restart a machine (or just the application)
the cache now differs to the other machines. I was hoping that the the TCPLateral
cache would keep the caches in sync even after a restart on one machine.
Is there any way to get the TCPLateral cache to get back up-to-date after
a restart? Or is there any other way keep the caches syncronized after I
restart one machine?
Regards,
Matthew Cooke
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org
RE: Restarting machines - keeping the cache.
Posted by Aaron Smuts <aa...@wisc.edu>.
The RemoteCache will do what you want, since it was not designed as just
a broadcaster. The local caches hook up to the remote cache, send it
update, the remote cache broadcasts delete requests for that item to the
other locals, and then if one of them needs an item and it is not stored
locally the remote cache is queried.
> -----Original Message-----
> From: mpcooke3@lineone.net [mailto:mpcooke3@lineone.net]
> Sent: Tuesday, February 17, 2004 3:59 AM
> To: turbine-jcs-user@jakarta.apache.org
> Subject: Restarting machines - keeping the cache.
>
> Hi,
>
> I wonder if anyone can help me. I am using the JCS TCPLateral cache
which
> seems to work ok. However, when I restart a machine (or just the
> application)
> the cache now differs to the other machines. I was hoping that the the
> TCPLateral
> cache would keep the caches in sync even after a restart on one
machine.
>
> Is there any way to get the TCPLateral cache to get back up-to-date
after
> a restart? Or is there any other way keep the caches syncronized after
I
> restart one machine?
>
> Regards,
> Matthew Cooke
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
turbine-jcs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
turbine-jcs-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org