I have a node autonomous working for data processing. Depending on the capabilities of my server, I will run several instances of the worker, so my question is: should clustering be included in my worker, because the main task of clustering is to use several processor cores, but it is true only if we serve HTTP requests.
But in my case, if I run 4 instances, and then each instance will follow the clustering, so I believe that it is not recommended to use clustering for stand-alone scripts
source
share