[zeromq-dev] subports

Pieter Hintjens ph at imatix.com
Wed Jul 27 12:55:10 CEST 2011

On Wed, Jul 27, 2011 at 12:49 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Putting all the services into a single process doesn't scale. To move one
> service to a different box you have to rip the source code from the original
> application, untangle all the dependencies, build it as a stand-alone
> service etc.

You're assuming services are independent, which isn't the use case. Of
course independent services can exist on their own ports. That's

By definition we're discussing entangled co-dependent services that
naturally go together.  E.g.

(This is a simple case, there are many more complex ones).

Now, this model requires a ROUTER/DEALER pair for authentication and a
PUB/SUB pair for data. These two services are completely entangled,
there is no sense in speaking of "scaling these by running them on
different boxes". Yes, you might scale up, but you'd do it using
devices in front of the PUB socket.

Does this help to define the use case?


More information about the zeromq-dev mailing list