By now, you know how Node.js applications work, and certainly, some of the readers may have a question that if the app runs on a single thread, then what happens with the modern multicore processors?
Before answering this question, let's take a look at the following scenario.
When I was in high school, there was a big technology leap in CPUs: the segmentation.
It was the first attempt to introduce parallelism at the instruction level. As you probably are aware, the CPU interprets assembler instructions and each of these instructions are composed of a number of phases, as shown in the following diagram:
Before the Intel ...