News for hackers. Stuff that matters.
Re:Reddit costs $33k/month to operate? by joshu on Monday July 26, 2010 @09:08PM (#1549898)
Actually, I bet you it's a "we hit the database on every pageload" problem.
Re:Reddit costs $33k/month to operate? by emmett on Monday July 26, 2010 @09:39PM (#1549959)
I know the reddit guys, and I can tell you it's definitely not that. Hitting the DB is extremely rare - almost everything comes straight out of cache (either memcache, or memcachedb for caches which are more expensive to rebuild). Execution cost is dominated by the python app servers.
Re:Reddit costs $33k/month to operate? by blhack on Monday July 26, 2010 @09:54PM (#1549989)
The overwhelming majority of reddit's pageviews are users that are not logged in, which is very very cacheable.
Re:Reddit costs $33k/month to operate? by jedberg on Tuesday July 27, 2010 @04:13AM (#1550603)
About 20% of the users are logged in, and they represent about 50% of the page views.
Re:Reddit costs $33k/month to operate? by emmett on Monday July 26, 2010 @11:45PM (#1550173)
I am pretty sure this is false. While the overwhelming number of unique visitors to reddit are not logged in, those users are far less engaged than average. Logged in users make up a huge percentage of the pageviews because of their higher engagement level.
Re:Reddit costs $33k/month to operate? by jedberg on Tuesday July 27, 2010 @04:13AM (#1550600)
The database is rarely accessed in request. Almost all DB access comes from batch processes.
Re:Reddit costs $33k/month to operate? by giantfuzzypanda on Monday July 26, 2010 @09:20PM (#1549924)
Yep. That's why you shouldn't have pylons noobs running a site like reddit.