4 ms·
> How is storing in Redis(or any other in-memory store) any different from storing in Memcache? Memcached is a cache, not a store. Memcached happily removes ke
by fooyc 14y ago
> How is storing in Redis(or any other in-memory store) any different from storing in Memcache?
Memcached is a cache, not a store. Memcached happily removes keys when it feels so
Please see this post where memcached author recommends not to store sessions in memcached:
http://dormando.livejournal.com/495593.html http://dormando.livejournal.com/495593.html
- irahul 14y ago> Memcached happily removes keys when it feels so I know about memcache key eviction. For most of the applications, that is an acceptable compromise. For others, back up the sessions in the db every n seconds as mentioned in the article. Session is loaded every request and hitting the db every request is not something I want.