I am looking for the simplest way to communicate a message to all the clusters of PM2, something as simple as using eventEmitter "emit" and "on" functions.
I would like to avoid using third party tools like RabbitMQ and rely only on native Node or NPM. So far I've looked at
- ipchannel, which is a very simple solution but stops working when the PM2 process reloads
- distributed-eventemitter, which requires STOMP and make the whole setup more complicated
I'm looking forward to your suggestions