At the moment, I am using EventEmitter2 as a message bus inside my application, and I really like it.
Anyway, now I need a message bus which does not only work in-process, but also inter-process. My ideal candidate would …
- … be API-compatible to EventEmitter2 (a "drop-in replacement"),
- … work without a dedicated server or external service (such as a database, a message queue, …), only using OS resources,
- … be written in pure JavaScript,
- … run in-memory, so it does not require persistence.
What I do not need:
- It does not need to run on Windows, OS X and Linux are fine.
- It's okay if it works only on a single machine, it does not need to be network aware.
Any ideas or hints?
PS: It is fine if you can recommend an available product, but it is also fine if you can point me into a direction of how to do the server-less thing by myself.