News for hackers. Stuff that matters.
Re:Donald Trump Is Elected President by zeusk on Wednesday November 09, 2016 @10:54AM (#12911086)
I'm curious, why is that just two thousand comments would bog down the server? What kind of processing is done by the server to render a thread?
Re:Donald Trump Is Elected President by dang on Wednesday November 09, 2016 @10:57AM (#12911119)
Oh man—all kinds of stuff. The visible bits are an iceberg tip. And it all runs in a Racket process on a single core.

That mammoth thread at least tells us where the brick wall is: at about two 'who is hiring's.

Re:Donald Trump Is Elected President by pja on Wednesday November 09, 2016 @11:22AM (#12911425)
How much does calculating the approx time of posting for every comment add to the total load?

If it’s significant then you could ship the UTC posting time to the client & calculate the displayed value in Javascript & eliminate that particular part of the load at least, which in turn might enable more caching internally.

(You’ve probably looked at this already though.)

Re:Donald Trump Is Elected President by dang on Wednesday November 09, 2016 @11:56AM (#12911921)
The last time I profiled the code, the timestamps weren't expensive.
Re:Donald Trump Is Elected President by 0xmohit on Wednesday November 09, 2016 @11:00AM (#12911165)
Good that nobody ever tried to combine the two, i.e. who is hiring and who wants to be hired, earlier.
Re:Donald Trump Is Elected President by koolba on Wednesday November 09, 2016 @11:01AM (#12911168)
Is it the total number that crushes things or the high level of nesting?
Re:Donald Trump Is Elected President by dang on Wednesday November 09, 2016 @11:02AM (#12911189)
The total number. We actually stop rendering comments past a certain amount of nesting; ever see a 'more' link where 'reply' would normally be? That's what that is.