Does memcache data persist even after server restart?
If the session handler is based on memcached and the memcache server is restarted, is the data stored or all session information has to be recreated?
If not, is memcached memcached even reliable for session storage? Or is it possible to create a session handler that uses both MySQL and memcache? How?
+3
source to share
3 answers
memcached is a memory caching system that stores data and objects in RAM, so if you restart the server you will lose information. Try using Redis ( http://redis.io/ ) for your needs.
+4
source to share