[zeromq-dev] Issue when using pub / sub after any other pair

Martin Sustrik sustrik at 250bpm.com
Thu May 19 16:34:04 CEST 2011


On 05/19/2011 04:21 PM, Pavel Chlupáček wrote:

> Well will add then a bit of delay and see.  What u say is classical
> race where at first invocation it takes a bit longer to get things up
> and running whereas in second invocation case it does not and as such
> I miss the message right?

Yes.

> I would assume it would not make sense to have kind of channel "rdy"
> signalling to be able to wait for it, as only sensible use for it
> will be in tests right?

The scenario for PUB/SUB is broadcasting. Think of a common radio 
broadcast. If you turn on your radio receiver too late you miss the 
show. Radio crew is not going to delay the show because you haven't 
switched on your radio yet.

Martin



More information about the zeromq-dev mailing list