News for hackers. Stuff that matters.
Re:Reddit costs $33k/month to operate? by masklinn on Tuesday July 27, 2010 @02:11AM (#1550399)
> but does Reddit even allow photos anywhere besides thumbnails?

How is that even relevant? Images cost in bandwidth, not in computing power.

> Does Reddit find things only specific to your account

Uh yes, on every single submission and comments. The admins clearly stated that what used the most resources was the voting system. As well as every single user (whether you marked them as friends) and the list of links itself, which is extracted from the user's own list of reddits.

There is barely anything on a logged in user's page which isn't at least in part specific to that user's account.

> I could really go on for a long time

No, I don't think so, you've been 0/everything so far, it's time to stop.

Re:Reddit costs $33k/month to operate? by blasdel on Tuesday July 27, 2010 @03:44AM (#1550554)
> How is that even relevant? Images cost in bandwidth, not in computing power.

Sounds like you need to do some STFU yourself, having clearly never come anywhere near this problem domain. Using standard tools to process and resize user-uploaded images can easily soak up all the CPU time and memory you could throw at it.

I recently spent a bunch of time rewriting a client's image processing pipeline fromt the usual O(n)-space ImageMagick crap that loads the full uncompressed image into memory a few times over to be O(1)-space doing streaming downsampling by exploiting the compression implementations of JPEG and PNG. It was more than worth it — even with the PNG implementation being a bit more CPU intensive now, it's a lot nicer having it operate in constant space without fear of swap and the OOM-killer.

Re:Reddit costs $33k/month to operate? by mdg on Tuesday July 27, 2010 @09:31AM (#1551110)
>IT COMPILES EFFICIENTLY