[zeromq-dev] Subports

Pieter Hintjens ph at imatix.com
Tue May 3 21:37:44 CEST 2011


On Tue, May 3, 2011 at 9:31 PM, Martin Pales <m.pales at gmail.com> wrote:

>> What's needed is arbitrary number of TCP connections sharing same port
>> number.
>
> IMHO, you cannot avoid head-of-line blocking with this approach. TCP has its
> flaws.

You are confusing multiplexing with this proposal, which is more like
HTTP virtual hosts than anything else.

>From TCP's point of view there's no difference. Client connects to
server port. Thousands of clients can connect to server port. The
special sauce is after connection, at 0MQ negotiation time, where the
client says "I want service XYZ" and 0MQ is then able to forward that
connection to a socket that bound on that port and using service
"XYZ".

-Pieter



More information about the zeromq-dev mailing list