meteorhacks / cluster

Clustering solution for Meteor with load balancing and service discovery
https://meteorhacks.com/cluster-a-different-kind-of-load-balancer-for-meteor.html
MIT License
632 stars 80 forks source link

[Question] process identifier and single startup #118

Closed y-ich closed 8 years ago

y-ich commented 8 years ago

Hi.

I want to distinguish each process by some identifiers. It there any one for this purpose?

y-ich commented 8 years ago

I notified that it is process.pid.

And I want to run a single startup on multicore, for example, initialization of db. Are there any ways to do it?

y-ich commented 8 years ago

All I need to know was CLUSTER_WORKER_ID.