[zeromq-dev] Quick question on usage of patterns

Diffuser78 diffuser78 at gmail.com
Thu Jul 12 20:23:10 CEST 2012


Hello All,

I need some suggestion on my design and ways in which it can be done using
ZMQ sockets.


I have an app  App1 on Box1. It sends a message M1 (128K) to an app App2 on
Box2. App2 will do some processing on M1 before sending an ACK back. In my
application, I also want to send an ACK back to App1 as soon as App2
receives M1, i.e. I want App2 to send two types of ACKs to App1:
1. An ACK that says that App2 received M1
2. An ACK after M1 is processed.

Can I make App1 use Dealer socket and App2 Router ? How will the matching
happen on App1's end ? If this pattern is not right, could you please point
out the right pattern to use for this use case.


I greatly appreciate your replies.

Many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120712/cd463ffd/attachment.htm>


More information about the zeromq-dev mailing list