Why use shared cache?
There is no more efficient way to increase the scalable performance of applications then the use caching to unload deeper layers.
>> Shared Cache>> Shared Cache Server>> Service Cleanup
ServiceCacheCleanup
indeXus.Net Shared Cache contains various options to purge / cleanup items which added to cache. Based on customers need this can be easly configured on server configuration section.
<replicatedSharedCache defaultProvider="ServerSharedCacheProvider">
<serverSetting
ServiceCacheIpAddress="127.0.0.1"
ServiceCacheIpPort="48888"
SharedCacheVersionNumber="2.0.0.261"
LoggingEnable="1"
ServiceFamilyMode="0"
CacheAmountOfObjects="200"
CacheAmountFillFactorInPercentage="90"
ServiceCacheCleanup="LRU"
ServiceCacheCleanupThreadJob="1"
TcpServerMaxThreadToSet="-1"
TcpServerMinThreadToSet="-1"
/>
.. other configruation
|
The following options available:
In most cases LRU or CacheItemPriority is used. The usage of Hybrid has only on some specific cases advantages, therefore we suggust to make tests before you decided which Cleanup Strategy match your needs.