2๐
โ
you may consider celery and rabbitmq
the idea is: in your app you create a file called tasks.py and there you put the code:
# tasks.py
from celery import task
@task
def your_task_for_async_job(data):
# todo
just call the function and it does the job for you asyncly..
Here is the documentation for Celery, you find there also how to set it up with django etc..
hope, this helps
๐คdoniyor
Source:stackexchange.com