ederoock
ederoock

Reputation: 33

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

Upvotes: 0

Views: 438

Answers (1)

Bruce Chen
Bruce Chen

Reputation: 18465

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.

Upvotes: 2

Related Questions