[zeromq-dev] conventions in bindings

Martin Sustrik sustrik at 250bpm.com
Fri Feb 3 12:12:25 CET 2012


On 03/02/12 11:40, Pieter Hintjens wrote:

> I'd suggested this ages ago for the core API since it is a systematic
> cause for confusion for new users. You create a SUB socket and connect
> it, and it does nothing. Martin's argument was based iirc on
> implementation aspects. Since all subscriptions are additive, you
> should start with "nothing", not "everything".

It's not about being additive or subtractive. It's about DoS'ing the 
consumers.

With subscription forwarding it gets even worse. The "get all" 
subscription will travel all the way from the consumer to the ultimate 
publisher and DoS all the devices on that path and thus cause disruption 
of service for all other subscribers connected to those devices.

Martin



More information about the zeromq-dev mailing list