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.
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.