ZeroMQ
https://zeromq.org/ https://en.wikipedia.org/wiki/ZeroMQ
This is really good documentation.
https://zguide.zeromq.org/docs/chapter1/
You cannot have 2 publishers to the same thing, but you can have 2 subscribers
The ØMQ message queueing library provides so-called sockets (a kind of generalization over the traditional IP and Unix sockets) which require indicating a messaging pattern to be used, and are optimized for each pattern.
The basic ØMQ patterns are:
- Request-Reply
- Pub-Sub
- Exclusive pair connects two sockets in an exclusive pair. This is a low-level pattern for specific, advanced use cases.