On 11/14/2011 04:38 PM, Emmanuel TAUREL wrote: > I am using the PUB/SUB pattern > I have a HWM set on the PUB side but none on the SUB side. The SUB is > very slow to read messages. > > When I look at the network exchange with wireshark, I notice that the > PUB drops messages due to the HWM. > But how the PUB knows that the SUB is not able to read messages ? > I do not see any TCP Window full or something like this sent from the > SUB to the PUB
The window doesn't have to be full. It's enough for the publisher to publish faster than the TCP stack is able to push data to the wire. In such case the messages are queued on the PUB side and eventually dropped when HWM is reached. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
