asaadsaad / MWA-homework04-nodejs03

MWA Homework 4 - NodeJS 03

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MWA Homework

Coding Exercise

Update yesterday's homework and use the child process API to execute any CPU-intensive work away from Node main process.

Note that you may need to stringify and parse the data exchanged between the two processes.

Answer the following Questions

  1. Explain in detail Node thread system?
  2. What is the best way to handle any I/O intensive tasks in Node?
  3. What is the best way to handle any custom CPU-intensive tasks in Node?