[zeromq-dev] Async Client Server

Kevin Meredith kevin.m.meredith at gmail.com
Fri Aug 12 04:58:32 CEST 2016


Looking at http://zguide.zeromq.org/page:all#toc76:


[image: Inline image 1]
As I understand, the ROUTER needs to poll frequently to hear from each of
its clients.

Then, the ROUTER forwards any client message to the `DEALER`.

Question 1: Is the ROUTER to DEALER connection asynchronous?

Question 2: For the Server's DEALER to N DEALER Workers, must polling take
place at the Server's DEALER?

Looking at the book's text:

> The clients send a request once per second, and get zero or more replies
back.

Question 3: I suppose the 0 comes from a Worker that dies, i.e. box/thread
crashes? How could more than 1 reply return to the -Client?

Thanks,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160811/68766ec8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 18606 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160811/68766ec8/attachment.png>


More information about the zeromq-dev mailing list