Caching Algorithm

FAQ, getting help, user experience about PrimoCache
Post Reply
soeno
Level 1
Level 1
Posts: 3
Joined: Wed Mar 04, 2015 5:17 pm

Caching Algorithm

Post by soeno »

In early versions of PrimoCache (when it was called FancyCache), there were two algorithms available for caching:
  • LRU (Least Recently Used): Discards the least recently used data first.
  • LFU-R (Least Frequently Used): Counts how often a cache block is needed. Cache blocks that are used least often will be discarded first.

Now that PrimoCache is out of beta, I'm curious, which algorithm does it use? And is this overrideable?

Thanks,
Soen
Davey126
Level 7
Level 7
Posts: 99
Joined: Sun Mar 23, 2014 3:40 pm

Re: Caching Algorithm

Post by Davey126 »

In an earlier post (can't immediately find) the devs indicated the caching algorithm had been optimized and the LRU/LFU options were being depreciated. To my knowledge it is not customizable in V1.x.
User avatar
Nina
Level 4
Level 4
Posts: 38
Joined: Sat Jan 29, 2011 2:21 pm

Re: Caching Algorithm

Post by Nina »

soeno wrote:In early versions of PrimoCache (when it was called FancyCache), there were two algorithms available for caching:
  • LRU (Least Recently Used): Discards the least recently used data first.
  • LFU-R (Least Frequently Used): Counts how often a cache block is needed. Cache blocks that are used least often will be discarded first.

Now that PrimoCache is out of beta, I'm curious, which algorithm does it use? And is this overrideable?

Thanks,
Soen
Both at the same time ..
Post Reply