Over a million developers have joined DZone.
Gold Partner

Session Store Design with NoSQL

· Database Zone

The Database Zone is brought to you in partnership with Clusterpoint.  Read about ACID-compliant Transactions Mechanism within NoSQL database from Clusterpoint.

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


The Database Zone is brought to you in partnership with Clusterpoint.  Read about ACID-compliant Transactions Mechanism within NoSQL database from Clusterpoint.

Topics:

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

{{ parent.tldr }}

{{ parent.urlSource.name }}