title: Is there a way to send a message from a worker to other workers in node.js?
body: <p>I can use <code>process.send</code> to send a message from a worker to a master. I can use the following code to send a message from the master to each worker.</p>
  
  <pre><code>for (var id in cluster.workers) {
    cluster.workers[id].send({command: 'doSomething'});
  }
  </code></pre>
  
  <hr>
  
  <p>To send a message from a worker to other workers I have to send a message to the master and then have it forward the message. This results in the original sender also receiving the message and is something that I'd like to avoid but I can live with it!</p>
  
  <p>I also tried sending the message directly from the worker like it's done in the master but <code>cluster.workers</code> is <code>undefined</code> in workers.</p>
  
  <p>Is there any other way to do this?</p>