Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is memcache data saved even after server restart?

If a session handler is based off of memcached, and the memcache server is restarted, is the data saved or does all session information need to be recreated?

If not, is memcached even a reliable for session storage? Or is it possible to create a session handler that uses both MySQL and memcache? How?

like image 329
alecwhardy Avatar asked Dec 12 '22 04:12

alecwhardy


1 Answers

When you restart memcached, you lose all the content and it will need to be resourced (from the origin, wherever that is) when it is next requested.

like image 87
D Mac Avatar answered Dec 26 '22 16:12

D Mac