TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Redis vs. Mongo DB – The battle of the NoSQL databases continues

25 pointsby yanivlevenalmost 8 years ago

9 comments

crack-the-codealmost 8 years ago
At my last company, we used redis both for celery as a queue, and a cache for values we needed to call often and retrieve quickly. We ALSO used Mongo, but moreso as a store for larger documents that were called less frequently. I think it's not fair to compare them directly together, they are each useful in their own specific cases.
评论 #14487519 未加载
kureikainalmost 8 years ago
The way I look at Redis is a service that helps to off-load main db. Obvious example is how people use it as a cache. But it has other use, such as:<p>- Leaderboard: Redis shines when we need to store ranking data. - Geo Query: Instead of query geo spatial index directly from MongoDB. I use Redis and feed the id back into MongoDB - Track Occurence Of Event: Let&#x27;s say we need to keep track state of an user - Set of data<p>In other words, I treat Redis as a network&#x2F;distributed data structure, which I can implement in the main db, but will require heavy read&#x2F;write.
olingernalmost 8 years ago
Apples and tangerines.
mcanon7almost 8 years ago
Love the speed and of Redis and the flexibility of Mongo.
codedokodealmost 8 years ago
I thought Redis was a cache, not a database.
评论 #14483840 未加载
评论 #14486967 未加载
Hackthepackalmost 8 years ago
Cassandra takes&#x27;em both
ninjazee124almost 8 years ago
Is Redis web-scale?
gonyeaalmost 8 years ago
Redis vs. MongoDB, seriously? Up next: choosing to die via hornets or scorpions.
评论 #14495465 未加载
评论 #14486985 未加载
mcanon7almost 8 years ago
Love the sport of Redis combined with the flexibility of Mongo.
评论 #14484387 未加载