[LRUG] Rails session stores?

Joel Chippindale joel.chippindale at econsultancy.com
Wed Apr 25 06:16:54 PDT 2012


In the lifetime of our rails application we've moved through various
session stores.

1. We began with a cookie session store but then found ourselves storing
more than 4KB in our sessions…

2. ...and so we switched to an ActiveRecord session store (i.e. MySQL
backed) but found that it was too slow…

3. …and so we switched to a redis backed session store but have now found
that we keep outgrowing the memory limits of our redis servers…

4. …and so we switched to ???

Do you have gigabytes of session data? If so where do you store it?
MongoDB? Tokyo Cabinet? Somewhere else?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20120425/7b2d43c0/attachment-0003.html>

More information about the Chat mailing list