Hi, I need to fix that section in the Guide. In fact there's a much more detailed explanation on discovery here: http://zguide.zeromq.org/page:all#Discovery
Which may help you more. Your nodes are all on the same network so you can do UDP broadcast discovery (like the CZMQ zbeacon class does). -Pieter On Mon, Apr 29, 2013 at 4:31 PM, Александр Емелин <[email protected]> wrote: > 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 > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
