Answer the question
In order to leave comments, you need to log in
If the server is using NGINX, is there a need for pm2?
The NGINX config has a parameter worker_processes
or something like that.
If I understand correctly, then this parameter sets the number of application instances, and it is best that it does not exceed the number of cores.
For NodeJS applications, there is also a load balancer / classifier, with which you can also use all the processor cores.
If the server uses NGINX, is there any point in using PM2 at all? Or am I misunderstanding how NGINX works?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question