94 points · by knightinblue · 17y ago · 53 comments
In terms of man hours, how much is needed to maintain and moderate hacker news?
On a weekday we get about 350k pageviews from about 30k unique ip addrs.
Thanks pg! :)
Only one server:
Old: 2.4 GHz Pentium 4, 4 GB RAM, 32-bit FreeBSD 5.3.
New: 3.0 GHz Core whatever, 12 GB RAM, 64-bit FreeBSD 7.1.
PG: "The new server seems to be about 2x as fast. The frontpage renders for me in about 50 msec. But the site should seem more than 2x faster (for logged-in users) because many requests will terminate before being interrupted. There's now enough memory that we can fit all the links and comments in memory at once again. We should be good for another year or so." (traffic: http://ycombinator.com/newsnews.html#15jan09)Not sure of how or where server is hosted or what else is used e.g. router/firewall/bandwidth/ups/utilities/etc., but if pg/rtm billed for time all other costs would be insignificant.
Maintainance:
A lot less than most people considering it's rtm and pg.
As for man hours, can 2 guys in a basement with nothing else on their schedules maintain and moderate a site like HN?
The server should come out to a little over $1000 per month then?
Just for an example, you can rent Xeon 5570, a rather nice 2.93 Ghz machine with 12GB RAM, and 2 TB of monthly bandwidth for $724 from Softlayer and others.
I was actually checking out Mediatemple's nitro server. Low on the memory and speed end (2.33 GHz and 8 GB RAM) but it seems to be getting glowing reviews for it's customer service.
I'm going to also check out softlayer.
Any other suggestions?
I bet you could serve 20,000 people a day on an HN-like site for well under $1,000/month on AWS, assuming you are smart about caching and you don't thump the database with every request.
So, even if you were totally clueless about ads and just ran random ad sense, the thing would more than pay for itself.
It's incredibly cheap to run a site that doesn't need much bandwidth. Basically, if you are serving no pictures or media, you should be able to build a website at super-scale in your garage, or using some Cloud Service.
My guessing math puts it at 300MB for the hot data set (1000 100kb pages, 20k 10kb users). With 10 page views per unique, 90% hit rate on the page/user cache and 20% of page views being writes I'd guess average is less than 1 iop a second. Even at high peak to average ratios it's likely within what a single sata disk can do.
I'd say it might be a little tight on a 512MB vps, but possible if you optimized carefully. On a reasonable dedicated machine it should run very well without any particular effort paid to optimization beyond basic caching.
(and yes, I actually tested this on a crappy 128MB VPS. I also tested out using a rails, merb, and compojure generated pages and was able to reach 500-1000 req/s easily)
20,000 people a day is definitely worth 35 dollars per day. That would mean, if your ads were impression-based, your CPM of $1.75.
You pay $45 CPM for eyeballs on a site like backpacker.com, which actually has a tight audience, but you're gonna get $1.75 unless your site is just spam.
CPM means cost per thousand eyeballs. I'm talking about impressions here just to simplify things.
I don't recall seeing any articles on HN about advertising options (AdSense vs. AdBrite vs...) or optimization. (Though it's possible I've simply missed them.) Any good resources I should investigate?
http://ycombinator.com/images/2yeartraffic.png - Maybe I'm reading this wrong, but does that image show 300,000 pageviews per day?
Anyone else care for a guess ?
So if you submitted an article 10 min ago, it shows as being posted 10 min ago for you and everyone else.