Pushing out old data with new data?

Brad Fitzpatrick brad at danga.com
Mon May 2 14:56:19 PDT 2005


Yes.  By default adding new keys will throw out old stuff.

(The exception is if you run with the -M option)


On Mon, 2 May 2005, eon wrote:

> Greetings-
>
> Suppose I have limited my memcached memory space to 1GB and that it is full, with, say, 25% of it's keys having past
> their expiry.
>
> When a request to add a new key is made, will an out of memory error be reached or will more space be made by
> eliminating some of the expired data?
>
> If not, that might be something to consider.  :)
>
> Thanks again for your time and for making such an awesome piece of software!
>
> eon
>
>


More information about the memcached mailing list