[zeromq-dev] PUB doesn't discard msg when no SUB

Pieter Hintjens ph at imatix.com
Fri May 27 14:51:54 CEST 2011

On Thu, May 26, 2011 at 11:31 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> My understanding of the problem is that there are two types of applications
> with very different semantics...

We've called these "stable" and "unstable" parts of the network, in the Guide.

There's no reason for needing async connects in 95% of cases, stable
or unstable. The only use case I can see is when a node (stable or
unstable) connects to an unstable node. This happens, but it's rare
(it's the 'server connects to client' scenario).

Making connects synchronous won't help all cases of message loss due
to synchronization, but it'll catch some cases, and be conceptually
simpler and more consistent with 'normal' sockets.

I think, anyhow.


More information about the zeromq-dev mailing list