Understanding python runtime on Azure VMs #2326
Replies: 2 comments 6 replies
-
Hi @kanupriya15025 , thanks for reaching out. Let me reply to your questions one by one.
To increase the concurrency of your of your orchestrator Functions, you can tweak the values of For Python in particular, I recommend also reviewing this section of the docs: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-perf-and-scale#language-runtime-considerations As you point out, Python is a single-threaded runtime and therefore configuring its concurrency settings can be particularly challenging. The documentation I linked above should link you to the general Azure Functions docs on Python concurrency, which I also recommend reviewing.
I believe this isn't quite true, this depends on the concurrency settings I listed above. For example: if you set Can you try lowering these two settings to see if that helps with scale out? Thanks! |
Beta Was this translation helpful? Give feedback.
-
@davidmrdavid In this doc here : https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-perf-and-scale#language-runtime-considerations Also, what does this line mean here : |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been working on creating a python function app on azure durable functions. We have been running load tests and we are seeing performance issues while scaling the app. There are about 10k orchestrators + 10k activity functions being triggered simultaneously.
Here's my flow :
This is my host.json
{ "version": "2.0", "logging": { "applicationInsights": { "samplingSettings": { "isEnabled": true, "excludedTypes": "Request" } } }, "extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle", "version": "[3.*, 4.0.0)" }, "extensions": { "durableTask": { "maxConcurrentActivityFunctions": 120, "maxConcurrentOrchestratorFunctions": 120, "storageProvider": { "partitionCount": 16 } } } }
Beta Was this translation helpful? Give feedback.
All reactions