Hacker News new | ask | show | jobs
by olalonde 5552 days ago
Out of curiosity, why do you use both Redis and MongoDB?
2 comments

We use Redis and MongoDB for two different purposes.

Redis is used for our messaging queue (resque), sessions and caching. MongoDB is used to store our user data. Redis could be used to store our user data as well but we feel that MongoDB is a lot easier to work with because of its query language.

MongoDB fits better to store our user data and Redis fits better for our messaging queue, sessions and caching. We have yet completed migrating from MySQL to MongoDB which is why I've listed both in my post.

whats the reason for the migration from MySql to mongo ?
a lot of people seems to lump all nosql into the same category. redis and mongodb are very different.