comparison artifacts/doc/conf/cache.xml @ 7475:2e4d02207239

Datacage recommendations caching: Use LFU strategy to rotate parameter recommendations out earlier. This should be a better config in multiuser user setups because the more frequently used terminal state recs will survive longer.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 30 Oct 2013 17:35:12 +0100
parents fff862f4ef76
children 5e3f4b4fcb28
comparison
equal deleted inserted replaced
7474:39d348c0812d 7475:2e4d02207239
79 <!-- This one is used to cache the recommendation nodes generated from datacage --> 79 <!-- This one is used to cache the recommendation nodes generated from datacage -->
80 <cache name="recommendations" 80 <cache name="recommendations"
81 maxElementsInMemory="150" 81 maxElementsInMemory="150"
82 eternal="false" 82 eternal="false"
83 timeToLiveSeconds="1800" 83 timeToLiveSeconds="1800"
84 memoryStoreEvictionPolicy="LRU" 84 memoryStoreEvictionPolicy="LFU"
85 overflowToDisk="false" 85 overflowToDisk="false"
86 diskPersistent="false" 86 diskPersistent="false"
87 /> 87 />
88 88
89 <!-- This one is used for the cross section next neighbor lookup --> 89 <!-- This one is used for the cross section next neighbor lookup -->

http://dive4elements.wald.intevation.org