A NodeJS process as we have come to know is considered and is, a programmatically single thread of execution. But that said, we also have complex and complicated system/workflows running in NodeJS without any problem. So How does this work?
The MultiThread behind!
So for any application (web) where we are dealing with 10k simultaneous users can easily be served using a good powerful server without any lags using NodeJS servers. (or even more,.. this is just a ballpark).
There is also parallel executions possible in NodeJS using fork(), just on the same lines as C/C++ and we will see it explained in a future post.