News for hackers. Stuff that matters.
Re:Donald Trump Is Elected President by dang on Wednesday November 09, 2016 @11:32AM (#12911583)
We don't have more than one server and HN proper (not counting caches) runs on a single core.

Believe me, we hate slow software at least as much as you do and have put a lot of effort into addressing this. HN is a lot faster than it used to be on median load. It still falls short on excessive load. We'll get there!

Re:Donald Trump Is Elected President by paulddraper on Wednesday November 09, 2016 @11:38AM (#12911680)
> We don't have more than one server and HN proper (not counting caches) runs on a single core.

Well, then. That is rather impressive.

(Though I suggest adding a processor/server. Probably small compared to your existing Cloudflare costs.)

Re:Donald Trump Is Elected President by ihuman on Wednesday November 09, 2016 @11:35AM (#12911619)
HN is still made in arc, right? Does arc support threads? Racket does, so I would assume arc does.
Re:Donald Trump Is Elected President by dang on Wednesday November 09, 2016 @11:44AM (#12911759)
Racket has green threads, which gives us non-blocking IO but that's about it. There's another concurrency mechanism that uses OS threads but Arc doesn't rely on it, and from the little I looked at, I don't think it would work with the HN software's design.
Re:Donald Trump Is Elected President by samth on Wednesday November 09, 2016 @12:23PM (#12912287)
There are two parallelism approaches in Racket, both of which provide OS threads. The most useful one for web servers is called 'places', and is somewhat like Erlang -- you can only communicate immutable serializable data between different places, as well as OS resources like file handles. I know other people have used places to scale web applications, but I haven't looked at how HN's design would be affected.

If you have questions about using this, please feel free to email me about it.