[zeromq-dev] trying to understand zeromq high water mark behaviour

Goswin von Brederlow goswin-v-b at web.de
Mon Jan 27 16:37:13 CET 2014


On Mon, Jan 27, 2014 at 07:15:03AM -0600, Pieter Hintjens wrote:
> Hi,
> 
> The dealer socket distributes messages equally to all its peers, and
> the HWM isn't relevant here. Even busy workers will receive messages.
> You want some form of load balancing. The Guide has examples of this
> (load balancing brokers).
> 
> -Pieter

Is it completly irelevant?

I naively thought the dealer would send equally to all sockets untill
they block. And on the other side the socket would read ahead until
its recv HWM is met. So at least recv HWM messages get queued up and
then whatever fits into the send and recv buffers the kernel has for
the sockets and whatever remains of the last message is buffered in
zmq internally. Or is that completly wrong?

MfG
	Goswin



More information about the zeromq-dev mailing list