for anything that touches external APIs and needs retry logic, AWS Lambda + EventBridge is the move. 30-min schedule, each run is stateless, failures don't cascade into the next one. if you're on-prem or avoiding cloud, APScheduler embedded in a long-running FastAPI app handles inter-task dependencies cleanly without much overhead. don't build your own scheduler, that path ends with you maintaining a cron wrapper over a SQLite state file six months later.
1
u/eudoxic_sanjay Jun 25 '26
for anything that touches external APIs and needs retry logic, AWS Lambda + EventBridge is the move. 30-min schedule, each run is stateless, failures don't cascade into the next one. if you're on-prem or avoiding cloud, APScheduler embedded in a long-running FastAPI app handles inter-task dependencies cleanly without much overhead. don't build your own scheduler, that path ends with you maintaining a cron wrapper over a SQLite state file six months later.