News for hackers. Stuff that matters.
Re:How JavaScript works: Event loop and the rise of Async pr... by richmarr on Saturday October 14, 2017 @05:24PM (#15474396)
> > Does this mean that a web server written in node is running single-threaded?

> Yes.

Just to expand, this (like most things) is a simplification, as I'm sure nitely is just being too brief to explain. It's true for Hello World, and a little further, but real-world web servers in non-trivial contexts typically utilise techniques like clustering, workers, and other ways of delegating tasks to external processes.

There are no comments on this comment yet.