[zeromq-dev] Some question about blocking send/recv
OZAWA Tsuyoshi
ozawa.tsuyoshi at gmail.com
Fri Nov 4 09:16:55 CET 2011
(11/11/04 15:27), Ilja Golshtein wrote:
> 04.11.2011, 09:51, "Tsuyoshi OZAWA"<ozawa.tsuyoshi at gmail.com>:
>> With standard socket(), we have to use multiplexing IO (such as
>> epoll, kqueue, and so on).
>> What's happning inside 0MQ?
>
> Exactly as you've written - multiplexing IO is inside 0mq. And background thread(s) to send/receive/free user's memory/maintain queues.
>
> Perhaps http://www.zeromq.org/whitepapers:architecture answers your questions.
Thanks.
This is the document I needed.
Now I understood I/O threads use queues to send/recv.
Then, the next question came appeared - is there delivery assurance in
zeromq?
In other words, if a process crashes after returning the 0MQ-blocking
send/recv ops, may messages in the failed process be lost?
If the answer is positive, how can I handle it?
OZAWA Tsuyoshi
More information about the zeromq-dev
mailing list