user720806
user720806

Reputation: 31

Any way to set Azure Functions parallelism?

I have an Azure function to call the SpeechToText cognitive server. I need to ensure that no more than 4 instances of the function spin up. Is there any way to set the degree of parallelism?

Upvotes: 0

Views: 248

Answers (1)

Oscar Fraxedas
Oscar Fraxedas

Reputation: 4657

You could try modifying the app's service plan: https://learn.microsoft.com/en-us/azure/app-service/azure-web-sites-web-hosting-plans-in-depth-overview

  • Navigate to the function app that you want to update.
  • In the Menu, look for the App Service Plan section.
  • Select Change App Service plan to start the process.
  • Navigate to scale out.
  • Enable autoscale.
  • Set the desired instance limits.

Upvotes: 1

Related Questions