Re:Memcached vs. Redis – More Different Than You Would Expect
by dormando on Monday October 11, 2021 @09:08PM
(#28834859)
There are stats in "stats items" / "stats slabs". Last access time for most recent eviction per slab class, etc. (see doc/protocol.txt from the tarball).
"watch evictions" command will also show a stream of details for items being evicted.
Re:Memcached vs. Redis – More Different Than You Would Expect
by brody_hamer on Monday October 11, 2021 @09:31PM
(#28835035)
Thankyou!
Is there a way to obtain/monitor the time stamp of LTU evictions?
I want to get a sense of how memory constrained my memcached server is, and it seems intuitive to me to monitor the “last used” date of recent evictions. Like, if The server is evicting values that haven’t been accessed in 3 months; great. But if the server is evicting values that were last used < 24 hours ago; I have concerns.