I have an app fly-foodbank-production-web with 2 processes: web and worker
When I try to execute the following command, nothing happens
flyctl autoscale standard min=2 -a fly-foodbank-production-web
and I see
What do I need to run to use autoscale?
It would be good to get a better understanding how autoscale is supposed to work.
We’re also seeing an issue In the screenshot below, where it looks like one process is getting more than the others.
Ahhhh autoscaling doesn’t work for apps with multiple processes. Autoscale commands should definitely tell you this when you try to use them, sorry about that.
Autoscaling hasn’t worked all that well for Ruby apps, though, because it’s slow to respond and Ruby processes are slow to boot. Do you expect large traffic spikes or are you using it to minimize usage/bills?
Ah ok. more minimising the bill, as the app have very spiky traffic (working hours).
@kurt does the autoscaling still not work with apps with multiple processes?
It’s not, no. We have a big autoscaling rework coming up in a few months and will have better options for autoscaling when it’s finished. The UX for this has been challenging and we want to make sure we get it right. Unfortunately, we started with a direction that didn’t manage additional complexity well, so “getting it right” almost means starting from scratch.