Just echoing @quinnj response. I have a rule of thumb:
- If it takes less than
3s
, handle it throughhttp
- Otherwise, schedule a worker
Probably can do this on heroku with a web
and worker
dyno (it would be free if you got it working)
(the grain of salt is i’ve only hosted using heroku with rails.)
For interesting links check out,
- Some Heroku Docs on Background Jobs
- An old Discouse post on: Hosting Web Apps in Julia