[zeromq-dev] Newbie question about how zmq actually works

Kenneth Adam Miller kennethadammiller at gmail.com
Wed Mar 11 03:52:00 CET 2015


Oh whoops, wrong link. Here, read this:

http://zeromq.org/whitepapers:architecture

On Tue, Mar 10, 2015 at 10:45 PM, Kenneth Adam Miller <
kennethadammiller at gmail.com> wrote:

> I'm pretty sure that's exactly what happens. ZMQ handles all of the
> buffering in the background so your application can look clean and good.
>
> Check out this question, fielded by Pieter himself:
>
>
> http://stackoverflow.com/questions/10528659/what-is-the-rationale-behind-zeromq-context
>
>
> On Tue, Mar 10, 2015 at 10:31 PM, Fan Yang <iddmbr at gmail.com> wrote:
>
>> Hi,
>>
>> I'm not sure about how zmq works asynchronously. Assume that I have two
>> peers A and B. A has a PUSH socket and B has PULL. Then A connects to B.
>>
>> What if A send some messages to B but B hasn't invoked recv() yet? Will
>> the messages be first received by the zmq IO thread, and then presented
>> when B starts to recv()?
>>
>> Best Regards,
>> Fan
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150310/d10bf538/attachment.htm>


More information about the zeromq-dev mailing list