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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How we use Redis at Bump

59 点作者 rs将近 14 年前

6 条评论

chopsueyar将近 14 年前
I'm curious as to what hardware specs are used for these various cases.<p>How much RAM? How many instances per server? How many servers?
math将近 14 年前
We also find Redis perfect in a whole range of scenarios.<p>I like Redis because it's simple enough that I feel I easily understand what's going on (i.e. performance is predictable), yet powerful enough to do pretty much everything I want.<p>From a productivity point of view, the only scenarios that come to mind in which I've found myself thinking a relation database would be better are:<p>1. Indices: In scenarios where you could use an index with a relational database you need to create and manage this by hand in Redis. This takes time, and increases application complexity.<p>2. Transactions: They are far less flexible in Redis. Effectively you must get/WATCH all your data before entering a MULTI/EXEC block for setting. I've found organizing code for this can sometimes be very constraining. Of course on the upside, Redis is forcing you to be efficient.
评论 #2770466 未加载
riffraff将近 14 年前
I know redis is great, but I wondering what this<p>""" [persistence] This is something that every database has trouble with and Redis is no exception. """<p>is supposed to mean. To me it seems that most databases deal with persistence just fine.
magicseth将近 14 年前
To read some previous discussion of this article, check here: <a href="http://news.ycombinator.com/item?id=2222431" rel="nofollow">http://news.ycombinator.com/item?id=2222431</a><p>(We're still using Redis :-)
thechangelog将近 14 年前
The author mentions always giving MongoDB its own server. Can anyone shed some light on that?
评论 #2779229 未加载
chopsueyar将近 14 年前
Cool use with BSON as mentioned in the article:<p><a href="http://bsonspec.org/" rel="nofollow">http://bsonspec.org/</a>
评论 #2771036 未加载