fastcache icon indicating copy to clipboard operation
fastcache copied to clipboard

Can you pls clarify... new set items, does it move to the front with the old set item still inside cache or...?

Open superdolt opened this issue 4 years ago • 1 comments

Can you pls clarify... new set items, does it move to the front with the old set item still inside cache or...?

both same key cache new = key -> valueNew cache old = key -> valueOld

Before fastcache = [cacheOld -> valueOld]

After e.g. fastcache = [ cache new -> valueNew, cache old -> valueOld] or fastcache = [cache new -> valueNew]

superdolt avatar Jul 24 '21 18:07 superdolt

  1. i'm curious over this issue as well, does anyone know? because trying to use as a in memory storage. not sure if consistently writing a lot of same key will evict the other keys.

  2. will upgrade to fastcache in future versions stick to same strategy or use another eviction method? just curious over direction

hiqsociety avatar Mar 22 '22 06:03 hiqsociety