This is one of the most popular patterns of ZMQ.
The architecture of this pattern is based on 3 blocks:
- Broker: who is in the middle of the information flow. Here the workers can subscribe and clients can send their request. It's up to the broker to provide a simple forward and send them to the workers.
- Worker: who takes the data generated by its own or by sensor or other sources and send them to the client that wants this data.
- Client: who wants the data provided by the worker.