I would like to make use of node's child process to run three calculations in parallel to make better use of available CPU power but I am not sure on how I could execute them as the examples on the api docs seems to only cover external script files. Would it be possible to execute the three functions instead of executing some external scripts ?
Asked
Active
Viewed 598 times
2
-
did you check this https://stackoverflow.com/questions/20004935/best-way-to-execute-parallel-processing-in-node-js ? – Satish Patel Aug 16 '17 at 06:03
-
I think you are looking for `cluster` in nodejs. – Satish Patel Aug 16 '17 at 06:10
-
I am not entirely sure but web workers seem to be what I am after. – Bazinga777 Aug 16 '17 at 07:35