Using Tornado with Pika for Asynchronous Queue Monitoring

前端 未结 2 1342
半阙折子戏
半阙折子戏 2021-02-06 06:51

I have an AMQP server (RabbitMQ) that I would like to both publish and read from in a Tornado web server. To do this, I figured I would use an asynchronous amqp python library;

2条回答
  •  庸人自扰
    2021-02-06 07:47

    Someone has reported success in merging Tornado and Pika here. From what I can tell, it isn't as simple as just calling Pika from Tornado, since both libraries want to have their own event loops in charge.

提交回复
热议问题