3 ms·
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 ins
by caloriemate 12y ago
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?
- nukul 12y agoMongoDB 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.