简体   繁体   中英

Azure App Services - Manage scaling from within the application

I have a application hosted in Azure App Services where I'm running some jobs, the amount of jobs varies and the queue can be anywhere from 1 to 20 000 at a time. I'm using Hangfire to run these jobs.

I'm looking for a way to scale the App Services based on my own rules, I have tried scaling using the standard rules based on performance but not all the jobs use much resources so the rules do not quite work out.

Any help will be appreciated

I'm looking for a way to scale the App Services based on my own rules, I have tried scaling using the standard rules based on performance but not all the jobs use much resources so the rules do not quite work out.

Per my understanding, if the autoscale (scale out) for multiple instances could not meet your requirement, I assumed that you could programmatically scale up or scale out your app service plan based on your custom rules. You could access Create Or Update REST API for app service plan with Azure AD authentication. For more details, you could refer to this similar issue .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM