Eviction Policy selection when EvictionStrategy.REMOVE #16627
Closed
dnvsivaprasad
started this conversation in
General
Replies: 1 comment
-
|
Use 16.0.2 instead, this was fixed in #16104. The problem was the underlying container didn't register the get as an access. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I’m currently working on Infinispan cache eviction.
While testing with Infinispan versions 13.x to 16.0.1, I noticed that eviction appears to follow a FIFO-like behavior instead of LFU.
Scenario:
Configure cache with maxCount = 10
Insert entries with keys 1 to 10
Access a few of these entries multiple times to increase their frequency
Add new entries 11 to 15
Observed behavior:
Eviction seems to be based on insertion order, not access frequency
Expected behavior:
Least Frequently Used (LFU) entries should be evicted instead of the earliest inserted ones.
Could you please clarify whether LFU eviction is supported with this configuration, or if additional settings are required to enable frequency-based eviction?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions