[zeromq-dev] PUSH/PULL over inproc and nonblocking sends
Martin Sustrik
sustrik at 250bpm.com
Thu Aug 4 10:49:03 CEST 2011
On 08/04/2011 10:37 AM, Peter Bourgon wrote:
> When I simply change the transport from inproc to tcp, the behavior
> changes.
As already said, it's a timing issue.
> Is the default pull side buffer for tcp not infinite?
It is infinite. The blocking you are seeing is caused by push-side
buffer being full and having HWM set to 1.
> I guess the easy solution in my situation is to set every pull buffer HWM to 1.
Yes, that's right.
Martin
More information about the zeromq-dev
mailing list