Chiron
Chiron

Reputation: 20245

Using a NoSQL system to store session data

I'm trying to design a stateless and scalable web system. For the 'session' concept, I'm considering using Redis as the warehouse of sessions.

But do you think using a NoSQL system is suitable for that purpose? Is it an overkill? Should I consider another NoSQL system (I'm not looking for a shopping list of course. I mean another NoSQL that is more suitable to store session data than Redis)?

Upvotes: 1

Views: 1671

Answers (1)

yojimbo87
yojimbo87

Reputation: 68353

But do you think using a NoSQL system is suitable for that purpose?

Yes, NoSQL systems are suitable for this use case, namely K/V stores like redis if your session data are not too complex.

Is it an overkill?

No, it's a right tool for the right job. Redis is used in many scenarios and session store is one where it excells thanks to it's speed and support for advanced data structures which might come handy for you.

Should I consider another NoSQL?

There are other NoSQL solutions which might be used as a session store, for example riak or couchbase, but which one you choose depends on how complex your data are and also other factors like scalability and durability requirements.

Upvotes: 3

Related Questions