Is memcached a good way to store session share ammong web servers?

Peter Bengtson peter at peterbengtson.com
Mon Nov 13 10:27:56 UTC 2006


I'm sorry, but that's not correct: Memcache will not evict data but  
signal an error if the amount of memory you allocate to it is not  
enough, when configured to do so using the appropriate command-line  
option.

On 13 nov 2006, at 11.08, Marcus Bointon wrote:

> On 13 Nov 2006, at 10:03, Peter Bengtson wrote:
>
>> You don't need to resort to other software. Simply set up a  
>> separate instance of memcache and configure it never to evict data  
>> using a simple command line option. Very simple to do, and very  
>> reliable. And it does not require any additional software.
>
> Well, memcache will still evict data if it runs out of memory, and  
> if it is restarted, all data is lost. Sharedance suffers neither of  
> these problems. Admittedly, you can store a lot of typical sessions  
> in a couple of gigs!
>
> Marcus
> -- 
> Marcus Bointon
> Synchromedia Limited: Creators of http://www.smartmessages.net/
> marcus at synchromedia.co.uk | http://www.synchromedia.co.uk/
>
>



More information about the memcached mailing list