Scenarios such as: sending a welcome text message after the user successfully registers, but does not want to become a synchronous one or use RabbitMQ celery
, I wonder if there is something similar to the asynchttpclient in
tornado
Such a function because there are no non-http request tasks.
In fact, asynchronous queue is the best way, it is fully decoupled and the code is easy to maintain
I usually use Celery + Redis
The easiest way to start a thread is using therading