cirruslabs / orchard

Orchestrator for running Tart Virtual Machines on a cluster of Apple Silicon devices
Other
197 stars 17 forks source link

Auto-scaling capabilities #76

Open fkorotkov opened 1 year ago

fkorotkov commented 1 year ago

With platforms like Scaleway that has an API and provide not only macOS infrastructure but a more generic one. We can add builtin functionality that will scale Orchard workers up and down based on the demand.

There are couple things to consider:

I think the initial algorithm version should be super simple. There should be just couple configurations:

In case of auto-scaling we should also consider changing scheduling algorithm for maximum utilization -- prefer to schedule as many VMs on the same host as possible before going to the next one.