Run django-background-tasks on the Google App Engine (GAE)

Asked 2 years ago, Updated 2 years ago, 82 views

Time-consuming processing is asynchronized using django-background-tasks.
Locally on two terminals

Terminal-A
python manage.py

Terminal-B
python manage.py process_tasks

I started the background process as , but the GAE was not able to run the above two processes at the same time.
In the first place, would it be possible for GAE to run the background process? If so, please let me know how to set it up.app.yaml, etc.

python django google-app-engine

2022-09-29 22:10

1 Answers

Instead of using django's background task, there is another service called Cloud Task, so I think using it is a simple solution.

Google App Engine is a fully managed service, so I don't think I can start another process myself in the standard Google App Engine environment.
(It may be possible in a flexible environment, but I don't think it's a very good way.)


2022-09-29 22:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.