dswitzer
01/26/2024, 2:07 PMPatrick
01/26/2024, 2:25 PMdswitzer
01/26/2024, 3:01 PMcacheRemove() (which is done via CacheBox). We have ehCache set to just announce evictions.
This works correctly like 99.9% of the time, but occasionally a node gets out of wack and an eviction was not seen.dswitzer
01/26/2024, 3:40 PMPatrick
01/26/2024, 3:58 PMdswitzer
01/26/2024, 4:11 PMdswitzer
01/26/2024, 4:12 PMdswitzer
01/26/2024, 4:12 PMPatrick
01/26/2024, 4:14 PMdswitzer
01/26/2024, 4:53 PMquetwo
01/26/2024, 5:54 PMdswitzer
01/26/2024, 6:43 PMquetwo
01/27/2024, 3:24 PMquetwo
01/27/2024, 3:25 PMtcpdump -I _(name of your network card... find this on ip addr)_ -i _(ip of your cache server)_ -w _/tmp/somename.pcap_
<ctrl c> to stop the dump. grab the somename.pcap and open it with wireshark.dswitzer
01/29/2024, 12:08 PMbkbk
01/29/2024, 1:46 PMdswitzer
01/29/2024, 2:30 PMbkbk
02/10/2024, 4:30 PMmemoryStoreEvictionPolicy
Possible values for memoryStoreEvictionPolicy are LRU (Least Recently Used), LFU (Least Frequently Used), and FIFO (First In First Out ).
The documentation suggests that these policies are all probabilistic. In other words, eviction is guaranteed to occur 99% of the time, but not 100% of the time.
The default eviction policy is LRU . To this, the documentation adds, "_If probabilistic eviction does not suit your application, a true Least Recently Used deterministic algorithm is available by setting_ `java -Dnet.sf.ehcache.use.classic.lru=true`"
https://www.ehcache.org/documentation/2.8/apis/cache-eviction-algorithms.htmldswitzer
02/12/2024, 12:17 PM