Answer the question
In order to leave comments, you need to log in
Could you please explain specific cases when Child Processes is used in node.js?
Cluster, is that what it is?
It would be desirable to understand concrete cases when it is necessary and for what. With code examples, or projects on github.
Answer the question
In order to leave comments, you need to log in
Any case where you need to run some external program. For example, you received an image and want to process it with some imagemagick.
It can be any other program in the OS - and launching another process in a node is essentially no different from that in python / php / c and so on.
Cluster is different.
code examples can be found through a couple of million searches: https://github.com/search?l=JavaScript&q=require%2...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question