1

Just wonder the cluster of node.js is for cpu multi-core or for multi-server?

For the multi-core in the same cpu or multi-cpu in a same server, their communication speed is enough high to pub-sub.

But when the servers locate different place, how to gurantee the communication speed?

I mean when using cluster for node.js, what is difference of the 4 cases:

1.multi-core

2.multi-cpu in same server

3.servers in same local network

4.servers locate different place(different local network)

your comment welcome

1
  • Just like you would in any other architecture. I don't see why this is Node specific. Commented Aug 2, 2013 at 10:16

1 Answer 1

2
  1. Multi-core on the same server.

If you want node processes on different servers to collaborate, you'll have to manage it yourself.

Sign up to request clarification or add additional context in comments.

1 Comment

wonder how to balance the speed of cpu(faster) and the speed of network(slower)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.