[LRUG] Rails session stores?

Dan Singerman dansingerman at gmail.com
Wed Apr 25 06:19:31 PDT 2012


I think if you have gigabytes of session data, you are _probably_ doing
something wrong somewhere.

Or you could buy more ram for your redis server(s)

Cheers

Dan

On Wed, Apr 25, 2012 at 2:16 PM, Joel Chippindale <
joel.chippindale at econsultancy.com> wrote:

> LRUGers,
>
> 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?
>
> J.
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20120425/c59f1d4c/attachment-0003.html>


More information about the Chat mailing list