Nick
Nick

Reputation: 21

Multiprocessing In Terminal Node.js Application

I have a Node.js application that will be run in the command line. I need to run multiple instances of my code within the same command line instance. I am basically looking for a processing pools (python) equivalent in node.js.

Upvotes: 0

Views: 111

Answers (1)

Joseph Chambers
Joseph Chambers

Reputation: 4068

Welcome to Stack Overflow! I would take a really hard look at this: https://github.com/Microsoft/napajs which will take multiple V8 isolates and does all the communicating between them!

Let me know if this works for you.

Upvotes: 1

Related Questions