You could try CLIENT/SERVER pattern, but it still in draft status > On Jan 23, 2018, at 7:52 PM, Adriana C <[email protected]> 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 > [email protected] > https://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
