How to send asynchronous HTTP request in Django View?
伊谢尔伦
伊谢尔伦 2017-05-19 10:07:24
0
2
980

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.

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
Peter_Zhu

In fact, asynchronous queue is the best way, it is fully decoupled and the code is easy to maintain

I usually use Celery + Redis

Ty80

The easiest way to start a thread is using therading

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template