[zeromq-dev] Multiplexing on top of TCP and subports

Ian Barber ian.barber at gmail.com
Wed Sep 28 17:16:20 CEST 2011

On Tue, Sep 27, 2011 at 8:05 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> http://www.250bpm.com/multiplexing
> It also provides rationale for "vtcp" (subports) transport design in the
> development trunk of 0MQ.
> Martin

Just got round to reading this, very interesting. Though it was actually
part of the knocking down the multiplexing idea (which does indeed seem to
suck), I thought the advertising queue space acks were kind of interesting -
I guess more generally it's a kind of flow control.

It made me think, in the context of the other email thread about HWM (which
admittedly is more about lack of HWM being set than a HWM being hit), if
there's some value in hit HWM generating an upstream pub message on XPUB
sockets. If you could signal the subscription set that the connection used,
it would be easy to build systems to automatically spin up more downstream
consumers, or throttle message production or similar. Normal PUB and SUB
sockets could ignore/forward the messages.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110928/c76f31c2/attachment.htm>

More information about the zeromq-dev mailing list