[zeromq-dev] Authenticated pub/sub - does this approach make sense?

Pieter Hintjens ph at imatix.com
Sun Oct 21 04:08:26 CEST 2012

On Sun, Oct 21, 2012 at 6:16 AM, Merijn Verstraaten
<merijn at inconsistent.nl> wrote:

> Have a broker with a ROUTER and PULL socket, clients connect to the ROUTER and for every client I start a lightweight thread with a SUB and PUSH (connected to the broker's PULL) socket, the threads read from the SUB and write to the PUSH. The broker then simply forwards every message from the PULL socket to the ROUTER.

The SUB socket connects to a PUB in the router?

> Does this type of design make sense? Would anyone approach this differently?

It does seem to make sense, but it's complex enough to deserve a few pictures.


More information about the zeromq-dev mailing list