Answer the question
In order to leave comments, you need to log in
Two nodejs apps on two cores?
There are two completely different applications on nodejs, there is a 4-core server, how can I run these two applications each on a separate core?
I googled, found cluster, but as I understand it, it just can run the same application on several cores, and I need 2 applications - 2 different cores.
I also use pm2
Answer the question
In order to leave comments, you need to log in
What is there to invent? You start two node processes and that's it.
node first_app.js
node second_app.js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question