[Ruby] [ANN] db_memcache_store plugin for Rails Sessions
Geoffrey Grosenbach
boss at topfunky.com
Sun Jan 21 16:18:33 PST 2007
Traditionally, using memcached has been one of the fastest ways to store sessions. However, if you restart memcached, all your sessions will be erased and all your users will have to login again.
I have heard that the Robot Coop uses a system where sessions are stored both in the database (for persistence) and in memcached (for easy access).
This library is an attempt to recreate that system. Sessions updates are saved to the database, but are also kept in memcached for quick access. If you turn off your memcached servers, the database will be used exclusively.
Experimental. Not benchmarked yet.
http://topfunky.net/svn/plugins/db_memcache_store/
Geoffrey Grosenbach
More information about the Ruby
mailing list