Why memcached will lose data

KevinImNotSpacey kevin.amerson at gmail.com
Tue May 8 20:47:18 UTC 2007

memcached stores data in memory, it doesn't persist it, therefore if the
server goes down the data is lost.  memcached will also bump data from
memory when other items are requested more often, and memory space gets low.

there is simply no guarantee that when you put something into memcached that
it will be there later.

Hope this helps,

On 5/8/07, Dawei Wang <dawei.wang at iupload.com> wrote:
> Hi,All:
> I found that some people said that memcached sometimes will lose data. I
> really don't understand why this happens. can someone explain this?
> yet I found a bug with it (C# client API) ,it key has space (for example
> "test  123" ), then it will fail to set to memcached. so I just remove space
> before set t omemcached, and now I used it as cache in our website, it seems
> fine to me...
> Regards,
> --
> Dawei Wang
> iUpload(r) | www.iupload.com | 1-866-487-5623
> Blog:  http://wang.iupload.com/
> Email: dawei.wang at iupload.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070508/6e432316/attachment-0001.html

More information about the memcached mailing list