
How are you handling production background tasks in FastAPI without Celery?
Hey everyone 👋
A while ago I built an open source library called FastAPI Taskflow:
fastapi-taskflow GitHub repository
The goal was to make FastAPI BackgroundTasks more production-ready by adding retries, resiliency, control and visibility without workers or brokers.
It adds extra features like:
- task persistence
- concurrency limits
- scheduling
- task lifecycle management
- monitoring dashboard
I’m trying to understand how people are actually using it in real projects and where the pain points still are.
If you’ve used it (even briefly), I’d really love to know:
- what problem you used it for
- what worked well
- what felt awkward or missing
- where it broke down
- features you expected but weren’t there
- whether you eventually switched to Celery/TaskIQ/etc and why
Even if you’re not using it, I’m curious what your current approach is for handling background tasks in FastAPI at scale.
If you find the project interesting or useful, a star on GitHub would also really help support it 🙏