News for hackers. Stuff that matters.
Re:Reddit costs $33k/month to operate? by rb2k_ on Tuesday July 27, 2010 @04:02AM (#1550579)
Isn't every single subreddit cachable? Only the starting page isn't 100%, but I'm sure that many users have the same combination of subreddits (e.g. the default ones). Would be interesting to see if they have certain "user classes". Something like:

USERCLASS = SHA1(SUBREDDIT1 XOR SUBREDDIT2 XOR SUBREDDIT3)

Re:Reddit costs $33k/month to operate? by masklinn on Tuesday July 27, 2010 @05:30AM (#1550719)
> Isn't every single subreddit cachable?

For logged in users, you're still going to need the voting status for the current user on every single submission as well as that submission's hidden status for the current user to decide whether or not a submission should be displayed in the listing.

I believe they almost never hit the DB directly, so these are probably recached immediately (or submitted to both the cache and the DB at the same time), but that still means quite a lot of traffic.

Re:Reddit costs $33k/month to operate? by jonknee on Tuesday July 27, 2010 @09:40AM (#1551138)
The cache is invalidated after every vote.