4 ms·
IMO Mongodb makes it easier to add and query file metadata and Redis is really just for session info.
by wilsonfiifi 13y ago
IMO Mongodb makes it easier to add and query file metadata and Redis is really just for session info.
- dualogy 13y agoDon't get it. You already have a Mongo, why also use Redis just for that? I mean your Mongo is in-memory too. Or do you anticipate a larger-than-RAM dataset for the MongoDB?
- wilsonfiifi 13y agoexpiring keys makes session timeout easier. also array access in mongodb isn't as versatile as with redis.
- hendzen 13y agoFYI: http://docs.mongodb.org/manual/tutorial/expire-data/ http://docs.mongodb.org/manual/tutorial/expire-data/
- wilsonfiifi 13y agoThanks for the link. I'm of the view though that redis offers better and more convenient implementation. cheers
- dualogy 13y agoInteresting, thanks!