1

i am working on NodeJs, my question is:

process A runs on computer A, and process B runs on computer B, now i want to broadcast a message to both of them, how can i make it?

2 Answers 2

2

You should look into a message queue.

Redis has pub/sub capability and is a common backend component.

You could also consider ZeroMQ depending on what your requirements are.

2
  • could you tell me the details?
    – howlake
    Apr 7, 2013 at 4:39
  • @howlake, Details for what? Your question has no details, so I don't know how Daniel could add more details relevant to you.
    – Brad
    Apr 7, 2013 at 17:18
0

You're probably looking for dnode, a good very good system of communication between node.js processes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.