C
C#2mo ago
dave

LFU/LRU InProc .NET Weighted Entry Cache?

Looking for recommendations for a local cache bounded by size (not count) like IMemoryCache is, but implementing a LFU (or LRU I guess) eviction policy. Seen DotNext and BitFaster but they are bounded by N entries without any weight (such as string.Length for a size for example). For a high-enough-to-worry traffic production app (layer in front of redis) so I don't want to go writing eviction policies for e.g. CacheManager cause I'll get it wrong.
0 Replies
No replies yetBe the first to reply to this messageJoin