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.

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

133 pointsby rjim86over 12 years ago

8 comments

arkitaipover 12 years ago
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 未加载
ndemoorover 12 years ago
"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 未加载
chazover 12 years ago
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 未加载
ecaronover 12 years ago
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 未加载
citricsquidover 12 years ago
Article is from 2010, if I remember correctly their architecture has changed substantially since this article.
dotborgover 12 years ago
How are PHP, RoR, node.js, Perl/CGI etc. engineers supposed to build offline processing? Crontab?
评论 #4468078 未加载
评论 #4468140 未加载
评论 #4468003 未加载
评论 #4470052 未加载
surferbayareaover 12 years ago
that's just ~12 queries/sec..not that huge a deal..
评论 #4467480 未加载
评论 #4467526 未加载
petercooperover 12 years ago
It's pretty cool how nowadays Redis can cover several of those concerns quickly and simply (open schema, caching, replication..)