How does the expiration of a entry work

2014-01-05 Thread Richard Verbruggen
I'm doubting between APC and memcached to store information in the RAM of my server which has to expire automatically/be removed from the RAM after x seconds. Looking at APC for storing the value in RAM with 30 seconds expiration time leaves the key forever in the RAM, up until someone tries t

Fail to return the "before item"

2014-01-05 Thread Ping Huang
Hi, I am suspecting the function "_hashitem_before" in file assoc.c would not return the item before the specified key when the key is equal to the first item's key in the hash list. In this special case, according to my understanding, it returns the first item itself rather then the "before it

Re: How does the expiration of a entry work

2014-01-05 Thread dormando
> I'm doubting between APC and memcached to store information in the RAM of my > server which has to expire automatically/be removed from the RAM after > x seconds.  > Looking at APC for storing the value in RAM with 30 seconds expiration time > leaves the key forever in the RAM, up until someone