Immidiate scale out for Azure Compute Service

Mohsen Shaverdy Nasery 1 Reputation point
2022-06-14T10:17:40.443+00:00

Does anyone know which Azure compute service can scale as fast as real time to respond to large volumes of requests?

The problem is that I have bumps in my CPU/Memory metrics. I tried the automatic scaling of the web app service, it takes at least 5 minutes to add a new instance which is too late for me (so many users are not getting a proper response). I need a server that scales out instantly e.g. when a CPU is more than 70 Percent just add another instance without waiting for the CPU avg/max of the last 5 mins. I am aiming for something that works similar to Azure Serverless Functions or Serverless Cosmos DB. My web application is written in Nodejs, and it cannot be static.

Does anyone have any ideas/experience in this regard? thanks in advance.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,965 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2022-06-14T12:56:28.667+00:00

    @Mohsen Shaverdy Nasery , Thanks for reaching out If you are using the custom auto scale in your app service you change the auto scale rule duration to 1 minute but setting a duration less than 5 minutes may generate transient metric spikes that leads to unexpected scaling actions. It is recommended for the best results; the duration should be set at least 5 minutes.

    As mentioned in the documentation, Azure virtual machine scale sets, service fabric, cloud service and Azure web app depends on the Azure monitor auto scale. Azure Functions differs from the previous compute services because you don't need to configure any auto scale rules. Instead, Azure Functions automatically allocates compute instances when your code is running, scaling out as necessary to handle load.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.