Memcache is a cache not datastore, its never guaranteed. Any reason you can't fail back to pulling the data from your database when a key isn't found ?
On Aug 11, 2009, at 10:59 AM, smolix wrote:
Hi, Is there a way to use memcached as a _guaranteed_ distributed (key,value) storage? That is, I want to have a distributed storage of (key, value) pairs which can be accessed from many clients efficiently. The RAM is sufficient that all should easily fit into memory but I probably can't have an overhead of more than 2x the amount of data it takes to store the pairs. Is there a way to turn off the discard option in memcached? I can tune the keys such that they are sequential or do similar preprocessing if needed. This is about 100-500GB of data that I need to store with values less than 4k per item (in some cases much smaller). Any help and suggestions would be greatly appreciated. Thanks, Alex
