[rabbitmq-discuss] Pika + Tornado

Marek Majkowski majek04 at gmail.com
Mon Sep 20 12:39:48 BST 2010


That's a great news. I'll keep an eye on your work!

Do you have an example of how to use your pika fork with tornado?

Marek

On Wed, Sep 15, 2010 at 14:29, Gavin M. Roy <gmr at myyearbook.com> wrote:
> After spending a fair amount of time investigating previous work on what was
> done to support Pika from Tornado I decided I wanted something more native
> that supported all of the Pika functionality, was truly asynchronous and
> worked off of Tornado's IOLoop.  The result is a new fork of pika
> at http://github.com/gmr/pika.
> I am planning on to work with Tony G to try and get my changes cleaned up in
> a way that he'd like so that it can make it into the main pika branch but
> until then, I'll see about keeping my branch up to date with changes and
> working with the tornado adapter.
> To the user of pika my change adds pika.tornado_adapter.TornadoConnection
> which uses IOLoop cleanly without any blocking.  Under the covers I move the
> _rpc function to work with callbacks and remove the drain_events dependency.
> I've not tested extensively but the original examples work unchanged.  It
> could use some eyes on it to catch anything I may have missed.
> I hope it's of value to some of you who were after the same goal.
> Gavin


More information about the rabbitmq-discuss mailing list