MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.24k stars 21.41k forks source link

Add "Concurrency" section similar to that on the Queue storage #52860

Open redtaped opened 4 years ago

redtaped commented 4 years ago

Would be nice to understand how concurrency is handled, similar to the "Concurrency" section on the Queue storage documentation.

I see that max concurrency is configurable in host.json, under serviceBus.maxConcurrentCalls, but it took me a little digging to find it.

Moreover, I'm not sure how the concurrency is determined, and what the relationship to scaling the functions is.

Example: If we get 200,000 queued messages in the service bus queue, will the function scale out, and the 16 be multiplied by each function? What determines how many are pulled at a given time, and when scaling would occur?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mikeurnun commented 4 years ago

@redtaped Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

craigshoemaker commented 3 years ago

@jeffhollan - can you help provide some details on the concurrency rules here?