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.
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.)
© 2024 OneMinuteCode. All rights reserved.