NoSQL Zone is brought to you in partnership with:

Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2576 posts at DZone. You can read more from them at their website. View Full User Profile

Session Store Design with NoSQL

08.19.2013
| 5290 views |
  • submit to reddit

Basho is pretty active about reaching out to developers who might benefit from trying Riak.  After doing a presentation on Amazon DynamoDB, Tim Gross was contacted by them and Tim decided to write an article about his experience creating a session store with Riak, DynamoDB and Redis.  

He actually ends up giving most of his praise to Redis and doesn't label one store as being better than the others. 

Redis is a great backing store for server-backed sessions. Client-side sessions have their place, but there are plenty of fairly bad client-side session implementations out there so do your research.

-- Tim Gross


The article is even more useful as a collection of advice for designing session storage:

You should almost certainly be using the HttpOnly flag and putting your whole site under SSL for authenticated users.
-- Tim Gross