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 as...@apache.org on 2005/05/20 21:29:45 UTC

cvs commit: jakarta-turbine-jcs/src/conf remote.cacheRS2.ccf remote.cacheRS1.ccf

asmuts      2005/05/20 12:29:45

  Added:       src/conf remote.cacheRS2.ccf remote.cacheRS1.ccf
  Log:
  adding 2 new remote server config examples
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-jcs/src/conf/remote.cacheRS2.ccf
  
  Index: remote.cacheRS2.ccf
  ===================================================================
  ##############################################################
  ################## REMOTE SERVER CONFIG  RS2 #################
  # Registry used to register and provide the IRmiCacheService service.
  registry.host=localhost
  registry.port=1102
  # call back port to local caches.
  remote.cache.service.port=1102
  # cluster setting
  remote.cluster.LocalClusterConsistency=true
  
  
  ##############################################################
  ################## DEFAULT CACHE REGION  #####################
  # sets the default aux value for any non configured caches
  jcs.default=DC,RCluster
  jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
  jcs.default.cacheattributes.MaxObjects=250000
  jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
  jcs.default.cacheattributes.UseMemoryShrinker=false
  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.IdleTime=1800
  jcs.default.elementattributes.IsSpool=true
  jcs.default.elementattributes.IsRemote=true
  jcs.default.elementattributes.IsLateral=true
  
  
  ##############################################################
  ################## CACHE REGIONS AVAILABLE ###################
  # Regions preconfirgured for caching
  jcs.region.testCache1=DC,RCluster
  jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
  jcs.region.testCache1.cacheattributes.MaxObjects=250000
  jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
  jcs.region.testCache1.cacheattributes.UseMemoryShrinker=false
  jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=30
  jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=300
  jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=100
  jcs.region.testCache1.elementattributes=org.apache.jcs.engine.ElementAttributes
  jcs.region.testCache1.elementattributes.IsEternal=false
  jcs.region.testCache1.elementattributes.MaxLifeSeconds=60000
  jcs.region.testCache1.elementattributes.IsLateral=true
  jcs.region.testCache1.elementattributes.IsRemote=true
  jcs.region.testCache1.elementattributes.IsSpool=true
  
  
  ##############################################################
  ################## AUXILIARY CACHES AVAILABLE ################
  # Primary Disk Cache-- faster than the rest because of memory key storage
  jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
  jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
  jcs.auxiliary.DC.attributes.DiskPath=logs/rafRS1
  jcs.auxiliary.DC.attributes.MaxPurgatorySize=100000
  jcs.auxiliary.DC.attributes.MaxKeySize=500000
  jcs.auxiliary.DC.attributes.MaxRecycleBinSize=50000
  jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=-1
  
  # RS1 SERVER to update for clustering 
  jcs.auxiliary.RCluster=org.apache.jcs.auxiliary.remote.RemoteCacheFactory
  jcs.auxiliary.RCluster.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
  jcs.auxiliary.RCluster.attributes.RemoteTypeName=CLUSTER
  jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut=false
  jcs.auxiliary.RCluster.attributes.ClusterServers=localhost:1101
  jcs.auxiliary.RCluster.attributes.GetOnly=false
  jcs.auxiliary.RCluster.attributes.LocalClusterConsistency=true
  
  
  
  
  
  1.1                  jakarta-turbine-jcs/src/conf/remote.cacheRS1.ccf
  
  Index: remote.cacheRS1.ccf
  ===================================================================
  ##############################################################
  ################## REMOTE SERVER CONFIG  RS1 #################
  # Registry used to register and provide the IRmiCacheService service.
  registry.host=localhost
  registry.port=1101
  # call back port to local caches.
  remote.cache.service.port=1101
  # cluster setting
  remote.cluster.LocalClusterConsistency=true
  
  
  ##############################################################
  ################## DEFAULT CACHE REGION  #####################
  # sets the default aux value for any non configured caches
  jcs.default=DC,RCluster
  jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
  jcs.default.cacheattributes.MaxObjects=250000
  jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
  jcs.default.cacheattributes.UseMemoryShrinker=false
  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.IdleTime=1800
  jcs.default.elementattributes.IsSpool=true
  jcs.default.elementattributes.IsRemote=true
  jcs.default.elementattributes.IsLateral=true
  
  
  ##############################################################
  ################## CACHE REGIONS AVAILABLE ###################
  # Regions preconfirgured for caching
  jcs.region.testCache1=DC,RCluster
  jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
  jcs.region.testCache1.cacheattributes.MaxObjects=250000
  jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
  jcs.region.testCache1.cacheattributes.UseMemoryShrinker=false
  jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=30
  jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=300
  jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=100
  jcs.region.testCache1.elementattributes=org.apache.jcs.engine.ElementAttributes
  jcs.region.testCache1.elementattributes.IsEternal=false
  jcs.region.testCache1.elementattributes.MaxLifeSeconds=60000
  jcs.region.testCache1.elementattributes.IsLateral=true
  jcs.region.testCache1.elementattributes.IsRemote=true
  jcs.region.testCache1.elementattributes.IsSpool=true
  
  
  ##############################################################
  ################## AUXILIARY CACHES AVAILABLE ################
  # Primary Disk Cache-- faster than the rest because of memory key storage
  jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
  jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
  jcs.auxiliary.DC.attributes.DiskPath=logs/rafRS1
  jcs.auxiliary.DC.attributes.MaxPurgatorySize=100000
  jcs.auxiliary.DC.attributes.MaxKeySize=500000
  jcs.auxiliary.DC.attributes.MaxRecycleBinSize=50000
  jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=-1
  
  # RS2 SERVER to update for clustering 
  jcs.auxiliary.RCluster=org.apache.jcs.auxiliary.remote.RemoteCacheFactory
  jcs.auxiliary.RCluster.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
  jcs.auxiliary.RCluster.attributes.RemoteTypeName=CLUSTER
  jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut=false
  jcs.auxiliary.RCluster.attributes.ClusterServers=localhost:1102
  jcs.auxiliary.RCluster.attributes.GetOnly=false
  jcs.auxiliary.RCluster.attributes.LocalClusterConsistency=true
  
  
  
  

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