TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Poll: For session data: Redis, Memcached, or other?

5 pointsby nathanwdavisabout 14 years ago
I'm curious what other engineers are using for user session state storage/tracking within their web apps. I'm not asking about general cache storage, this is specifically about what you use for user session data (if you do that at all).<p>I'm also interested in hearing what techniques others use for fail-over and to increase availability.<p>EDIT: added choice 'An RDBMS'

2 comments

chealdabout 14 years ago
I use Rails' standard cookie sessions. There's never much data in the session, and it's encrypted so there aren't really security concerns. Not having to bother with flushing expired sessions or having to wipe out all my users' sessions because memcached needed a restart is nice.
nathanwdavisabout 14 years ago
If memcached, what do you do to make sure sessions aren't lost. On their FAQ (<a href="http://code.google.com/p/memcached/wiki/HowToSessions" rel="nofollow">http://code.google.com/p/memcached/wiki/HowToSessions</a>) it sounds like it is not intended to be used for sessions. Thoughts?