[zeromq-dev] Tornado loops

Daniel Truemper truemped at googlemail.com
Wed Jan 12 23:00:06 CET 2011


> The ioloop.py in zmq.eventloop is a full replacement for the ioloop.py
> in tornado that adds support for zmq sockets..  You just want one of
> these and to use both tcp and zmq sockets you will have to use
> zmq.eventloop.ioloop.  But, once you start that event loop, you should
> just be able to use the rest of tornado just like normal.  Let us know
> if you have problems.  We should probably add an example to pyzmq that
> shows how to do this.
This is great news! I will try to construct a little example using Tornados httpclient.AsyncHTTPClient() tomorrow!

Best
Daniel


More information about the zeromq-dev mailing list