[zeromq-dev] I need some advice please for StreamQ-Proxy

Pieter Hintjens ph at imatix.com
Wed Jan 8 19:52:28 CET 2014

On Wed, Jan 8, 2014 at 7:03 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:

> I have to pair clients and workers.

Identity information is encrypted. That means you have two basic design options:

* a pass-through proxy that does not understand CURVE, and simply
shuffles packets from one side to the other. This should be fairly
simple: read a frame from a stream socket, write to another stream

* a known broker, which acts as a CURVE server (to clients) and CURVE
client (to workers, I guess). This is then a classic ZeroMQ broker
which can do stateful routing from clients to workers.

In the first case you can create a switched connection between a
client and a random worker (since both offer automatic identities via
the STREAM socket). However there is no way (by design) to get access
to any metadata provided by clients or workers, including their
identities. That is what CURVE is protecting.

Does this help?


More information about the zeromq-dev mailing list