https://stackoverflow.com/questions/17861362/node-js-child-process-difference-between-spawn-fork/17861879#17861879 Spawn is a command designed to run system commands. When you run spawn, you send it a system command that will be run on its own process, but does not execute any further code within your node process. You can add listeners for the process you have spawned, to allow your code interact with the spawned process, but no new V8 instance is created(unless of course your command is another Node command, but in this case you should use fork!) and only one copy of your node module is active on the processor. https://www.freecodecamp.org/news/node-js-child-processes-everything-you-need-to-know-e69498fe970a/ Session can be maintained using jwt Is recursion same as callback
This website contains interview questions for JavaScript, Nodejs, Html, Css, Datastructure, Mongodb, Angular, Aws and much more intresting articles on different technologies.