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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -