Is there a way to run a batched async tasks like ML inference or map reduce?
For example, once a day or when necessary, we would start a VM that collects data from s3, process that data, upload the results, and then shut down.
Ideally, there would be no cost during the down times and also no assigned IP since it doesn’t need to be publicly accessible. Placement of the VM could also be whichever region is least busy within some jurisdictional restrictions.
Limits as in cpu or memory requirements? Since we’re doing the work in batches anyways, it shouldn’t matter if it takes a bit more time, but the work is fairly parallelized. So something like 4 cpus should be more than enough.
We don’t have anything specific for that, but it’s something that we’ve had requests for. Most of our customers are in the US, with some in in Europe and Asia.
Hi, are there any updates in this space? I’d like to try port over a flask app that I’m running on gcp but I’m waiting on a supported way to run background tasks.
I don’t think there’s a scheduler built into Fly yet, but it should be possible to run an app that’s just a worker (doesn’t bind to any port), that’s scaled up to N and then down to 0 with an external cron job.