We do a hack that enables something similar to this, but I wouldn't recommend it. If you want something memcached-like but persistent, you should look into, for example, tokyocabinet. It even speaks memcached protocol, so you can use it as a drop-in replacement and achieve the desired effect. It's not _as_ fast as memcached, but it's still very fast. On Tue, Aug 11, 2009 at 1:59 PM, smolix <[email protected]> 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 > > -- awl
