superfly / fly-autoscaler

A metrics-based autoscaler for Fly.io
Apache License 2.0
28 stars 4 forks source link

Support scaling by creating/destroying machines #18

Closed benbjohnson closed 8 months ago

benbjohnson commented 9 months ago

Currently, the autoscaler only scales existing machines because they are much faster to start/stop than creating new machines. However, it'd be great to support the creation of new machines ahead of possible scaling.

We should support min_created_machine_count and max_created_machine_count expressions so we can create additional machines as needed.