In Child process we fork process into many process for parallel processing, Also in the asynchronous programming we are executing many asynchronous code Parallelly.
So it means both are same . please help me to understand this
In Child process we fork process into many process for parallel processing, Also in the asynchronous programming we are executing many asynchronous code Parallelly.
So it means both are same . please help me to understand this
Not super sure if this is what your'e asking but: Each process running the node.js runtime will use the asynchronous runtime and execution model. If you have 2 underlying processors or hardware threads available then two node.js processes may execute in parallel. If only a single processor or hardware thread is available then it's not possible to achieve parallel execution, even with multiple node.js processes available.