.Net 4.0 Data Caching (Asp.NET)

Can someone explain to me that " CacheSpecificEviction " is detailed and how to avoid it?

I get this in CacheEntryRemovedArguments.RemovedReason .

+4
source share
1 answer

CacheSpecificEviction as a reason for deleting a cache entry means that "the element was deleted because the cache provider eviction policy determined its removal" - I know this is rather nonspecific, but it can hardly be more specific due to the many possible caching implementations and their various eviction policies (often customizable, for example, in AppFabric Cache aka Velocity). In general, eviction means β€œwell, there is a risk of running out of memory, we must remove some elements β€” for example, those least used recently (LRE eviction policy) or perhaps the least frequently used with dynamic aging (LFDA), etc. "Therefore, to get rid of eviction problems, you can check the cache usage and limitations, seeding configuration options ...

+2
source

Source: https://habr.com/ru/post/1344637/


All Articles