문제

The problem I'm facing is that i want to make sure lists are evicted in it's entirety. I.e. make sure that entries in the list is not separate evicted. We're looking to use the LRU eviction algorithm.

I realize a list is known by it's key, so that most likely what will happen when a list is evicted is that it will evict the entire list by it's key. Is there any documentation or proof otherwise that i can read to make sure this is the case, or is this so self-explanatory that it's not necessary to point out?

도움이 되었습니까?

해결책

As Tw Bert says, it behaves the same way as hashes and sets, always on the key. Basically answered in: how to expire a key of a map in REDIS?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top