9 questions for “Child Processes & Process Management”

Found in 1 field. Select a question to see its full answer.

Information Technology

9 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is the 'detached' option when spawning a child process, and when would you use it? Node.js › Child Processes & Process ManagementNode.jsChild Processes & Process ManagementAdvanced
2What are the four main methods for creating a child process in Node.js, and how do they differ? Node.js › Child Processes & Process ManagementNode.jsChild Processes & Process ManagementBeginner
3How does inter-process communication (IPC) work between a parent process and a child created with fork()? Node.js › Child Processes & Process ManagementNode.jsChild Processes & Process ManagementIntermediate
4How would you pipe the output of one child process directly into the input of another, replicating a shell pipeline in Node.js? Node.js › Child Processes & Process ManagementNode.jsChild Processes & Process ManagementIntermediate
5How do you handle a child process that hangs or never terminates, and what's the correct way to enforce a timeout? Node.js › Child Processes & Process ManagementNode.jsChild Processes & Process ManagementAdvanced
6How does Node.js implement the Worker Threads module differently from Child Processes, and when should each be used? Node.js › Advanced Node.jsNode.jsAdvanced Node.jsAdvanced
7What is the difference between spawning a Worker Thread and spawning a Child Process for running a CPU-intensive JavaScript function? Node.js › Clustering & Worker ThreadsNode.jsClustering & Worker ThreadsIntermediate
8What are Node.js's experimental permission model flags, and what problem do they address? Node.js › Advanced Node.jsNode.jsAdvanced Node.jsAdvanced
9What is the node:vm module, and what are the security implications of using it to execute untrusted code? Node.js › Core Node.js ModulesNode.jsCore Node.js ModulesAdvanced