[zeromq-dev] PUB-SUB scalability

Pieter Hintjens ph at imatix.com
Mon Aug 16 21:10:41 CEST 2010

On Mon, Aug 16, 2010 at 7:43 PM, Steven Clark <steven.p.clark at gmail.com> wrote:

> Don't create multiple PUB sockets because it's unnecessarily complex, or
> because it wouldn't help the network data rate at all?

Both: more complex than you need, and doesn't help.  Unless you have
multiple networks, in which case you can split traffic over different
networks via different PUB sockets.

You mentioned security and that's another plausible reason to slice up
data into streams, each on a separate PUB socket.  However you need to
assume there is no transport-level security, so you'd have to do out
of band key exchange and then encrypt streams.  Not impossible but
quite a lot of work.
Pieter Hintjens
iMatix - www.imatix.com

More information about the zeromq-dev mailing list