[zeromq-dev] Pattern for two clients and one server

Bách Hoàng Nguyễn hoangbach.bk at gmail.com
Tue Jan 23 15:49:29 CET 2018

You could try CLIENT/SERVER pattern, but it still in draft status

> On Jan 23, 2018, at 7:52 PM, Adriana C <constantinescu33 at gmail.com> wrote:
> Hello everyone!
> I am new to zmq and I would like to use it in my implementation for IPC. 
> I have two processes that must send commands to another process. This one performs
> the actual work for the commands. The commands may occur at any time and I cannot use a continuous loop to send them.
> How should I pair the request/reply calls?
> The architecture looks like in the attachment. I was thinking of designing the two 
> client processes using REQ sockets and the server process using ROUTER socket.
> I need the communication to be asynchronous, without doing busy waiting. Also,
> each request must be followed by a response, either an acknowledgement or a 
> data message. 
> What are your impressions on this? I do not want to start from scratch with a bad design.
> I went through the ZMQ guide but still I am not pretty sure whether this is the right approach.
> Thank you,
> Adrianne
> <architecture.png>_______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180123/66a0c1e3/attachment.htm>

More information about the zeromq-dev mailing list