Items randomly evicted.
Hello there. We are using Membase in Windows 2008 Server with Enyim and c#.net. We have a bucket with 1 GB allocated that we are using to store website user session information. The total amount of data stored in the bucket is probably no more than 2K at any time so far during our local testing. Here is an IM I received from one of our developers:
"If I let the our web console just sit here on a page, it takes about 15 minutes and then my account data that is in memcached gets evicted for some reason and it needs to be reloaded. How much data have I cram packed into my 1 GB bucket? Whatever the size of 1 account row and 1 group row is (very small). So it does seem odd that it would evict that data, especially since I have placed an infinite time span on it when I stored it."
The problem he is having is with what appear to be random items getting evicted from the bucket when 1) there is plenty of available space in the bucket, and 2) An infinite timespan allocated on the item. It would seem to me that in this case, memcached would keep the item around forever unless the capacity for the bucket was full and it was at the top for the LRU list.
Is there something I'm missing here?
Thanks for your time!