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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Lessons Learned While Building Reddit to 270 Million Page Views a Month

133 点作者 rjim86超过 12 年前

8 条评论

arkitaip超过 12 年前
I love reading about how companies scale their BigHuge data but it bothers me that we still haven't reached the point where scalability is a commodity instead of a patchwork of technology that everyone actor solves in their own way.
评论 #4467776 未加载
评论 #4467641 未加载
评论 #4467585 未加载
评论 #4471028 未加载
ndemoor超过 12 年前
"Instead, they keep a Thing Table and a Data Table. Everything in Reddit is a Thing: users, links, comments, subreddits, awards, etc. Things keep common attribute like up/down votes, a type, and creation date. The Data table has three columns: thing id, key, value."<p>I hope they introduced some NoSQL sweetness by now.
评论 #4467229 未加载
评论 #4467482 未加载
chaz超过 12 年前
Their most recent infrastructure blog post was from January 2012, and shows that they're using Postgres 9, Cassandra 0.8, and local disk only (no more EBS). I'm curious if the recently-announced provisioned IOPS would enable them to go back to EBS.<p><a href="http://blog.reddit.com/2012/01/january-2012-state-of-servers.html" rel="nofollow">http://blog.reddit.com/2012/01/january-2012-state-of-servers...</a>
评论 #4467832 未加载
ecaron超过 12 年前
Only disagreement (although I feel like I'm arguing w/ Linus about git) is don't memcache session data (lesson 5.) Memcache's 1mb max-block (exceeding that removes too many performance perks to be considered viable) introduces a "I need to constantly worry about my sessions getting too big" mental overhead that isn't worth it.<p>Go with Redis for storing session data.
评论 #4467516 未加载
评论 #4467486 未加载
评论 #4467346 未加载
citricsquid超过 12 年前
Article is from 2010, if I remember correctly their architecture has changed substantially since this article.
dotborg超过 12 年前
How are PHP, RoR, node.js, Perl/CGI etc. engineers supposed to build offline processing? Crontab?
评论 #4468078 未加载
评论 #4468140 未加载
评论 #4468003 未加载
评论 #4470052 未加载
surferbayarea超过 12 年前
that's just ~12 queries/sec..not that huge a deal..
评论 #4467480 未加载
评论 #4467526 未加载
petercooper超过 12 年前
It's pretty cool how nowadays Redis can cover several of those concerns quickly and simply (open schema, caching, replication..)