[zeromq-dev] PUB/SUB sockets over PGM intermixes multipart messages from different peers

Martin Sustrik sustrik at 250bpm.com
Wed Apr 27 09:47:31 CEST 2011


Hi Andrey,

>     Nope. It's a bug. There should be a separate pipe for each TSI. The
>     functionality in this corner of 0MQ is not fully finished. Would you
>     like to help with that?
>
>
> Yes, would llike to give it a try. I suppose that pipe for each TSI
> should be wired into zmq::fq_t of SUB socket, right? Much like
> individual TCP connections in TCP case?

Yes. I think so. The messages from different multicast group should be 
fair-queued so that no single group can DoS the others.

> Do you have some hint on testing PGM without real hardware? Is there
> some VM setup that works for multicast?

No idea. Steven should have an some idea about this.

One option I see is to patch the libzmq codebase to support multicast 
loopback. That should allow you to develop on a single box. I'll point 
you to the relevant code in case of interest.

Martin



More information about the zeromq-dev mailing list