[zeromq-dev] zmq proxy with INPROC as frontend and TCP as backend: is it feasible?

Francesco francesco.montorsi at gmail.com
Tue Mar 28 14:37:13 CEST 2017


Hi all,

I'm trying to work out a problem in a multithreaded application and I
would like to use ZMQ to solve it.

In particular I have a process with several threads that are
generating messages; each one has its own PUB socket.
I would like to have all these thread appear as a unique endpoint to
the outside world.

For this reason I'm thinking of changing the PUB socket of each thread
to use the INPROC transport and then create a ZMQ proxy exposing an
XSUB frontend socket with INPROC transport and an XPUB backend socket
with TCP transport, for the external world.

Do you think such kind of scenario would work?

Thanks!
Francesco



More information about the zeromq-dev mailing list