I have a requirements for TTL = 15 min and keep a near cache for no more then 5000 entries.
I understand that for near cache, I will need to do a client overwrite and define the either LRU or LFU evictors.
In the wxs documentation, all example with defining the client side evictors, overwrite the TTL as well:
<backingMap name="map1" ttlEvictorType="NONE" pluginCollectionRef="LRU" />
Can I have BOTH?
Pinned topic Question about evictors and near cache
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-05T19:07:25Z at 2013-03-05T19:07:25Z by jhanders
jhanders 1200009V3S264 Posts
Re: Question about evictors and near cache2013-03-05T19:07:25ZThis is the accepted answer. This is the accepted answer.Mike,
You can have both TTL eviction and another evictor as well in your client side, or you can have TTL on your server and an LRU or LFU evictor on your client. Evictors only interact with the entries in their tier. Eviction on a client does not cause eviction on the server.
I hope that answers your question.