Replies: 4 comments 8 replies
-
Nice offer, but we should remove the APScheduler integration! I've created a new repository here for APScheduler: fastapi_scheduler |
Beta Was this translation helpful? Give feedback.
-
I think we should add the celery timed task instance at the same time, is that correct? |
Beta Was this translation helpful? Give feedback.
-
I've opened a PR #229 and for now, I'm only using redis as a broker and backend, maybe we need to think about whether to use rabbitmq directly as it will make local development more complicated |
Beta Was this translation helpful? Give feedback.
-
Also may need to add more interfaces and methods to better represent celery |
Beta Was this translation helpful? Give feedback.
-
Async IO is suitable when we want to perform small BackgroundTasks or to perform tasks using concurrency and parallelism. However, when it comes to performing heavy background computations or complex tasks, we would ideally not like to run them as a part of the same process. As such, to perform these complex tasks as a separate process, we need specialized tools such as Celery.
https://medium.com/cuddle-ai/async-architecture-with-fastapi-celery-and-rabbitmq-c7d029030377
Beta Was this translation helpful? Give feedback.
All reactions