Hello, I am having as issue with a prototype distributed cache that I am building with JCS. I am running JCS with one remote server and two clients. I am using a standalone driver that communicates with these clients. The clients create, retrieve, update and remove hundreds of objects (each of size few hundred bytes) based on commands received from the driver.
I noticed that some objects inserted into the cache in one client is not available from the other. Sometimes updates aren't reflected. I looked at all the cached objects in both the caches using cache.getGroupKeys and the numbers are never the same. Shouldn't the updates be available immediately to both the clients? I found that puts and removals occur asynchronously with the Remote server setting, but gets are synchronous. Any help will be appreciated. Thanks, Chandri Here is my remote.cache.ccf used in the remote server: -------------------------------------------------------------------------------------------- # remote.cache.ccf registry.host=localhost registry.port=11102 remote.cache.service.port=11102 remote.cluster.LocalClusterConsistency=true remote.cluster.AllowClusterGet=true jcs.default=RCluster jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=10000 jcs.auxiliary.RCluster=org.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RCluster.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAtt ributes jcs.auxiliary.RCluster.attributes.RemoteTypeName=CLUSTER jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut=false jcs.auxiliary.RCluster.attributes.GetOnly=false -------------------------------------------------------------------------------------------- Here is the cache.ccf file used in the clients (both of them use the same) -------------------------------------------------------------------------------------------- jcs.default=RServer jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=200001 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRU MemoryCache jcs.default.cacheattributes.UseMemoryShrinker=true jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600 jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.MaxLifeSeconds=700 jcs.default.elementattributes.IsSpool=true jcs.default.elementattributes.IsRemote=true jcs.default.elementattributes.IsLateral=true jcs.auxiliary.RServer=org.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RServer.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttr ibutes jcs.auxiliary.RServer.attributes.FailoverServers=localhost:11102 jcs.auxiliary.RServer.attributes.RemoveUponRemotePut=false jcs.auxiliary.RServer.attributes.RemoteTypeName=LOCAL jcs.auxiliary.RServer.attributes.GetOnly=false jcs.auxiliary.RServer.attributes.Receive=true -------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]