3 ms·
> > 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 su
by richmarr 9y ago
> > 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.