On Aug 1, 2012, at 3:54 AM, Danil Gazizov wrote:

> Hi dudes!
> I'm working on logging mechanizm.
> The idea is to set logserver as subscriber of main data-process server.
> Data-process server publish events, and they must be logged, on other machine.
> So, does pub/sub guarantee delivering (while there is no hardware crashes)?
> And the second question - could Data-process server be blocked to publish 
> when its zmq-buffer overflows?

PUB/SUB does not guarantee delivery. This is extremely basic. Before writing 
your logging server, please look at the documentation.

http://zguide.zeromq.org/page:all

Pay attention to the socket behavior when the queue hits it high water mark 
(HWM). There can be a HWM on both the publisher and the subscriber which 
further complicates matters. For an explanation of how HWM works, read the FAQ.

http://www.zeromq.org/area:faq

cr


_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to