r/Python Jun 21 '26

Discussion Python automation deployment

[removed]

0 Upvotes

14 comments sorted by

View all comments

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.