Node.js child_process.fork() to run on different CPU cores -


i have application runs long-executing processes. make faster, simple sharding of data , want run them in parallel, .fork() 2 instances of same application.

i'm having 2 cores machine there , want make sure 2 cores utilized , first instance running on first core, second on second core.

i know cluster module, seems not relevant in case, since don't need http services running , load-balancing between them. workers (mean, dont need communicate each other, send messages or whatever - http requests , store data database).

is there possible @ control cpu core node.js process take? how monitor on mac/linux?

cluster module need : http://nodejs.org/api/cluster.html


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -