TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

25 点作者 yanivleven将近 8 年前

9 条评论

crack-the-code将近 8 年前
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 未加载
kureikain将近 8 年前
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.
olingern将近 8 年前
Apples and tangerines.
mcanon7将近 8 年前
Love the speed and of Redis and the flexibility of Mongo.
codedokode将近 8 年前
I thought Redis was a cache, not a database.
评论 #14483840 未加载
评论 #14486967 未加载
Hackthepack将近 8 年前
Cassandra takes&#x27;em both
ninjazee124将近 8 年前
Is Redis web-scale?
gonyea将近 8 年前
Redis vs. MongoDB, seriously? Up next: choosing to die via hornets or scorpions.
评论 #14495465 未加载
评论 #14486985 未加载
mcanon7将近 8 年前
Love the sport of Redis combined with the flexibility of Mongo.
评论 #14484387 未加载