[zeromq-dev] [PATCH] Moved tests off 5555 (conflict with Eclipse)

Pieter Hintjens ph at imatix.com
Wed May 4 15:42:34 CEST 2011

On Wed, May 4, 2011 at 1:32 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

>> The real use case for "bind to random port", which I have used in the past
>> for production work, is when you have dynamic parts of your topology. You
>> don't care about the actual port numbers used for those parts.
> Dynamic parts of the topology should connect rather than bind, no?

It's like Mato says: using a dynamic name service, a service can bind
to "random port", then publish its presence to the name service, which
clients then use to look up the address and port of the service.

There's a pretty complete implementation of a name service
architecture (missing only the actual payloads) in the Guide Clone

Mato: IMO this should be done in language bindings, not libzmq. I
added the concept to http://www.zeromq.org/topics:binding-abstractions
some time ago.


More information about the zeromq-dev mailing list