asynchronous – What is the best option for Django+Celery in Google Cloud run?
We currently have an application which runs in Django and background tasks are in Celery. Now, we need to move to Google Cloud Run, and how to Celery in that case, since celery can not be run in Google cloud run (because it is serverless).
I have background tasks like generate video (which may take around 10 minutes) and like generate image, and also sending requests to other services asynchronously.
For sending asynchronous request to other services, I used Google Tasks, but the functions for generating video is in my service actually, but Google Task requires to send in this format:
"http_request": {
'http_method': tasks_v2:HttpMethod.POST,
'url': url
}
Is there something that I need to put my function just in background task as celery does simply?
What will be the best option for my case to use for background tasks?
Read more here: Source link
