Hello, guys. I am new in ZeroMQ world. Please, help me with my question.

I am using ZeroMQ pub/sub sockets with python's Tornado.

I have several tornado processes on different ports balanced with Nginx.
All those processes communicate via ZeroMQ pub/sub.

Every process creates its own PUB socket and every process subscribes to
all known publishers.

This approach is very difficult to maintain (because I should describe all
publishers in configuration file and reload all processes with new config
if new publisher was added) and one of The Guide chapters is exactly about
this: http://zguide.zeromq.org/page:all#The-Dynamic-Discovery-Problem

So I think I need xpub/xsub proxy. But my question:

Shoud this proxy run in its own separate process? In the current
architecture I can just start all tornado processes and everything works
fine. With proxy I must maintain additional process with xpub/xsub code to
which all publishers and all subscribers from tornado processes will
connect. Am I right?
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to