# Memcached with failover for session store?

**URL:** <https://www.ruby-forum.com/t/memcached-with-failover-for-session-store/104691>\
**Category:** Rails\
**Created:** [May 21, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/memcached-with-failover-for-session-store/104691 "2007-05-21T16:47:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlemos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/839c29/32.png) [@mlemos](https://www.ruby-forum.com/u/mlemos)\
**Post date:** [May 21, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/memcached-with-failover-for-session-store/104691/1 "2007-05-21T16:47:23Z")

</div>

Gents,

It seems that its clear that memcached by itself for session storage has  
one weakness when it came to long lasting sessions (lets say, days,  
weeks or months). What happens is that is delete stored objects to set  
new objects when the memory is near its maximum operational limit (and  
that is not the max memory you defined).

So, does anyone knows how to solve that issue or to have memcached with  
an alternative (file or db based) session store for failover when a  
cache miss is encountered? Or, at least just for the session failover?
