[zeromq-dev] REQ / REP and inproc sockets

gonzalo diethelm gdiethelm at dcv.cl
Thu Aug 26 15:40:54 CEST 2010


> >> And yes, I am an ass.
> 
> The introspection was fun to read :)

And fun to do as well. In fact, one of the great things about 0MQ is how
much fun it is to work with.

> There's still a transient buffer between the PUB and SUB socket so
that
> random jitter on the line doesn't disrupt the transmission.
> 
> For heartbeats it would make sense to set the buffer size to 1 message
> (ZMQ_HWM option), so that at any point of time only 1 heartbeat is
> buffered.

This worked perfectly, thanks for the hint.

> The latest changes on the trunk are the "socket migration between
> threads" code. Thus it will be possible to move your socket from
thread
> A to thread B. That makes implementing the check impossible.

Oh, OK. I am looking forward to the next version.

-- 
Gonzalo Diethelm




More information about the zeromq-dev mailing list