News for hackers. Stuff that matters.
Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @02:29AM (#1833296)
This is a fri through mon inclusive. The sat was actually the day of startup school.

Orange = requests/sec; black = memory used; red = % time spent in gc; blue = median msec to serve an item page; green = median msec to serve the frontpage. The last two are unnaturally spiky because I use a very narrow window (because we use the same data to to drive our Leftronic screen at YC). So the blue spikes don't represent anything that would have been observable to users.

The slowly rising gc percentage (red) is a sign of memory leaks. They used to be a lot worse before Rtm finally tracked down the main culprit this summer.

We're now getting a bit over 900k page views per day.

Re:Four days in the life of HN by fierarul on Tuesday October 26, 2010 @03:06AM (#1833355)
Google Charts also allows you to set a legend. It really should be part of the graph.
Re:Four days in the life of HN by jayphelps on Tuesday October 26, 2010 @03:53AM (#1833421)
Added the legend in case anyone really does want it..

http://chart.apis.google.com/chart?cht=ls&chco=ff7700,00...

Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @03:09AM (#1833363)
These graphs are just to tell me if anything is going wrong with the server. They're not really intended for anyone else to see.

E.g. this is the graph at this moment: http://chart.apis.google.com/chart?cht=ls&chco=ff7700,00...

Re:Four days in the life of HN by aralib on Tuesday October 26, 2010 @04:03AM (#1833438)
Though fierarul's comment leads to a natural question. The original comment explaining the graph is really necessary for the link to make sense. Explaining the graph in a comment seems to break the (apparent) convention of submissions being self-contained.

I thought the reason for disallowing both a URL and text in a submission was to avoid this. Though, if a submission that requires a comment is acceptable, why not allow submitting both a URL and text?

Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @12:14PM (#1834767)
There is a difference. A comment is voted up at the discretion of the users, while text associated with the url would be displayed at the top no matter what. Which would mean the first person who submitted a link could essentially make their comment upon it always be the top one, and define the discussion.
Re:Four days in the life of HN by whyme on Tuesday October 26, 2010 @12:43PM (#1834915)
I think you're missing the point. Imagine if everyone on hn posted a link that directed people to half of the content, and put the other half in a comment. That would make for a pretty crappy trend. Note that your original comment has 25 points, so as you can see there's incentive for people to start doing this.

I think a non-vote-able comment at the top wouldn't do as much damage as you might think. Maybe, instead, make it a rule where half & halfs get filtered/blocked.

Re:Four days in the life of HN by garret on Tuesday October 26, 2010 @09:57AM (#1834162)
Re:Four days in the life of HN by tjogin on Tuesday October 26, 2010 @05:45AM (#1833604)
By posting the chart here, I would assume you intended for others to see it, no?
Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @12:07PM (#1834735)
My point was that the graph wasn't originally intended for others to see. It's a behind the scenes look at HN.

Is this really that big of a problem? Really?

Re:Four days in the life of HN by seldo on Tuesday October 26, 2010 @03:02AM (#1833347)
The slowly rising gc percentage (red) is a sign of memory leaks.

So do you reboot regularly, or what?

Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @03:05AM (#1833352)
I'd have to restart the server once a week or so if I didn't end up doing it more often anyway because of releases.
Re:Four days in the life of HN by roadnottaken on Tuesday October 26, 2010 @08:41AM (#1833930)
Does HN run on a single machine??
Re:Four days in the life of HN by charlief on Tuesday October 26, 2010 @09:44AM (#1834106)
From http://news.ycombinator.com/item?id=1721105

"Conservative, I know, but we're serving 800k pages a day off one server"

Re:Four days in the life of HN by derwiki on Tuesday October 26, 2010 @02:43AM (#1833327)
How many unique visitors?
Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @03:07AM (#1833357)
We now get around 75k uniques on a weekday.
Re:Four days in the life of HN by dzlobin on Tuesday October 26, 2010 @03:44AM (#1833403)
http://news.ycombinator.com/item?id=1152389

Looks like we're getting close to doubling in uniques, compared to 45K 8 months ago.

Re:Four days in the life of HN by pygy_ on Tuesday October 26, 2010 @04:50AM (#1833522)
This isn't very surprising. See [1]. Also of interest, HN vs Clojure vs Common Lisp [2].

1. http://www.google.com/trends?q=hacker+news&ctab=0&ge...

2. http://www.google.com/trends?q=common+lisp%2C+hacker+news%2C...

Re:Four days in the life of HN by pama on Tuesday October 26, 2010 @03:28AM (#1833384)
How much did HN grow in the last year or so?
Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @03:50AM (#1833419)
A bit under 2x.
Re:Four days in the life of HN by dabent on Tuesday October 26, 2010 @09:46AM (#1834114)
I really liked the flat-screen monitor up in the YC offices to track the site. I want one for my site. It seemed the site wasn't getting much traffic, but then I realized most of the users were in the room at the time.
Re:Four days in the life of HN by ericflo on Tuesday October 26, 2010 @03:04AM (#1833350)
I don't see yellow, but I do see an orange. Was that a typo, or is my monitor seriously mis-calibrated?
Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @03:06AM (#1833354)
Oops, fixed. For some reason I think of it as yellow, but it is in fact ff7700.
Re:Four days in the life of HN by catshirt on Tuesday October 26, 2010 @09:55AM (#1834154)
What was the original memory leak?
Re:Four days in the life of HN by pg on Tuesday October 26, 2010 @12:58PM (#1834981)
It was in something I added quickly to fix a hole someone discovered. I made the mistake of memoizing the function that generated authentication keys for vote links.
Re:Four days in the life of HN by skbohra123 on Tuesday October 26, 2010 @02:46AM (#1833328)
any plans for monetizing ?
Re:Four days in the life of HN by siculars on Tuesday October 26, 2010 @03:24AM (#1833381)
HN is sort of a loss leader for ycombinator. Free advertising for all the YC comings and goings. HN is the leader in mindshare amongst those interested in startups, startup technology and startup culture and (obviously) startup news.
Re:Four days in the life of HN by pclark on Tuesday October 26, 2010 @10:20AM (#1834264)
also job postings
Re:Four days in the life of HN by fharper1961 on Tuesday October 26, 2010 @02:58AM (#1833342)
HN is already monetized, albeit indirectly, through discrete and relevant references to YC products. For example the reference to Leftronic in this post.
Re:Four days in the life of HN by BrandonM on Tuesday October 26, 2010 @11:18AM (#1834521)
I'm not usually one to correct grammar, but discrete and discreet mean very different things.
Re:Four days in the life of HN by fharper1961 on Tuesday October 26, 2010 @12:20PM (#1834800)
Oops, thanks for pointing that one out!
Re:Four days in the life of HN by smanek on Tuesday October 26, 2010 @03:16AM (#1833371)
It's already monetizing, by getting YC amazing deal flow