> I am looking at using memchached for caching blob objects and flush them 
> after a while. My use case is that users may save lots of times and instead
> of persisting every save I would save the data only at logical point to the 
> databaseĀ or if there was no activity for n seconds then read from
> memcached and flush it to the database. Can someone please give me pointers 
> on how to design this scenario? For instance how to efficiently sync
> memcached with database such that it takes care of stale data, flushing every 
> n seconds etc.

Old blog post on the subject:

http://www.dormando.me/articles/memcached_sessions/

Reply via email to