Region scaling configuration

Running a multi-region Rails app that has much higher traffic in US than EU and ASIA.

Without a way to manually configure scaling between the regions (Is there really no way to choose how to scale between region?) and without autoscaling working for Ruby apps (Autoscale doesn't work) what options do I have to properly scale my app based on load between regions? I’m currently having to way over provision in EU/ASIA so the US region is properly scaled.

It’s a bit hard (if not impossible) to provision in the way you described with our current infrastructure.

However, it should be possible with our new “machines” platform. It should give you precise control of where you’re deploying each of your instances.

I don’t think the docs are up-to-date for them, but you can find a lot of info with fly machines --help.

It doesn’t currently work with fly deploy, but we’re working on that. This means you’ll have to update all your machines one-by-one to make any kind of change.

There are also rough edges with it, but it’s improving every day.

2 Likes