News for hackers. Stuff that matters.
Re:Finding the Perfect Tech Stack by caloriemate on Friday August 15, 2014 @11:43AM (#8182676)
Given that you're already using Redis with Kue, why not use Redis in place of MongoDB?

Additionally, why have you chosen to use a key-value store initially instead of a traditional SQL store?

Re:Finding the Perfect Tech Stack by nukul on Friday August 15, 2014 @11:51AM (#8182711)
MongoDB has a lot of advantages over Redis

1. Retains some friendly properties of SQL. (Query, index) so its easier to work with. Queries are javascript expressions so it fits in great with our Stack. 2. Master/slave replication (auto failover with replica sets), Sharding built-in, Easier horizontal scaling than Redis. 3. In-place updates, means you only need update one part of the document. 4. geospatial indexing, if you use geospatial data this can be very powerful 5. Data center awareness

You can do everything with Redis as well but we found that Mongo was easier to work with.