[zeromq-dev] Moving a pipe_t across different xpub_ts.

Claudio Scordino claudio at evidence.eu.com
Tue Mar 8 15:33:28 CET 2016

Dear Aaron,

thank you for your comments.

Unfortunately, I'd like to stick with PUB-SUB for (at least) two reasons:
- The subscription mechanism (topics & co) which I don't want to
re-implement from scratch
- In my case, subscribers are not reliable, so I need a mechanism to
detect their slowness and move them to a low-priority mechanism

Thank you again and best regards,


2016-03-08 15:22 GMT+01:00 Aaron Sokoloski <asokoloski at gmail.com>:
> Hi Claudio,
> I may be wrong, but it sounds to me like PUB-SUB is not the right type of
> socket pair for this problem.  The behaviour you're looking for sounds
> complicated enough that you may be better off using something like
> ROUTER-DEALER, and rolling your own publishing system to do exactly what you
> want.  For example, you can have the clients send back acknowledgement of
> recieved messages (maybe even just every N messages or something) in order
> to detect that they are lagging, and then set a flag marking them as a slow
> client, and pushing messages to them with lower priority, or something like
> that.  I don't understand the whole thing you're trying to do, so forgive me
> if that's not helpful :)
> Cheers,
> Aaron
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list