invoke celery task from tornado [duplicate]
问题 This question already has answers here : Tornado celery integration hacks (4 answers) Closed 6 years ago . How can someone invoke a celery task from tornado, and get the result via a callback? This post claims that someone must simply put a message via RabbitMQ and then the task shall be executed. This makes sense, but can someone give an example in python (even better in tornado, with a callback)? Personally, I use mongodb as my message broker, but I can switch to Redis or RabbitMQ as well..