Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Session Store Design with NoSQL

DZone's Guide to

Session Store Design with NoSQL

· Database Zone ·
Free Resource

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

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


Do you pay to use your database? What if your database paid you? Learn more with RavenDB.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}