Twisted or Celery? Which is right for my application with lots of SOAP calls?

前端 未结 2 365
栀梦
栀梦 2021-01-31 16:59

I\'m writing a Python application that needs both concurrency and asynchronicity. I\'ve had a few recommendations each for Twisted and Celery, but I\'m having trouble determini

2条回答
  •  梦谈多话
    2021-01-31 17:55

    Celery allows you to use asynchronous behavior of various async library like gevent and eventlet. So you can have best of both world.

    Example using eventlet https://github.com/celery/celery/tree/master/examples/eventlet

    Example using gevent https://github.com/celery/celery/tree/master/examples/gevent

提交回复
热议问题