[zeromq-dev] Improving message patterns
Martin Sustrik
sustrik at 250bpm.com
Wed Apr 13 15:24:43 CEST 2011
Hi Marko,
> The application could simply bind several zeromq sockets on the same
> ip/port, providing that they have different 'virtual hosts', and zmq
> will attach new connections
> to the correct sockets after reading the 'vhost' label in the first frame.
>
> Sorry, perhaps I entered late in the whole thing, but I have the
> impression that there is no such thing right now.
No, there is no such think yet. It's on the roadmap. It's usually
referred to as "subports".
> I guess it could be transparently implemented with a transport (vtcp?)
That's a good idea. So far the discussion evolved around adding this
functionality to standard TCP transport. Using a separate transport for
"merged feeds" is probably a good idea as it clearly separates business
feeds that are visible to the underlying network (tcp) from those that
are merged with other feeds and thus not eligible for traffic
monitoring, traffic shaping etc. (vtcp).
Martin
More information about the zeromq-dev
mailing list