- Background Tasks - FastAPI
You can see more details in Starlette's official docs for Background Tasks Caveat ¶ If you need to perform heavy background computation and you don't necessarily need it to be run by the same process (for example, you don't need to share memory, variables, etc), you might benefit from using other bigger tools like Celery
|