[zeromq-dev] [PATCH] ZMQ_PEER_EXISTS option

Martin Sustrik sustrik at 250bpm.com
Sun Jun 12 19:32:17 CEST 2011


Artur,

> My suggestion is to explain your scenario to Martin when he gets back
> from holiday in a week or so.

My feeling here is that gossip protocols differ a lot from any pattern 
that is currently supported in 0MQ (pub/sub, req/rep etc.)

If you want to fix that you can design a new pattern aimed at that kind 
of thing. To do that, you should have a clear idea of what are the 
invariants of gossip protocols and how they can be mapped to 0MQ semantics.

I assume there are some very specific issues in play here, like creating 
a connection only when sending a message and closing it immediately, 
random selection of peer to pass the message to etc.

Martin



More information about the zeromq-dev mailing list