You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .NET 8 based "isolated" mode durable function which implements the fan out/fan in pattern.
Expected F2 count is 100k activity function calls, which is getting executed in batch of 20 F2 calls.
Delay between each batch getting increased along with the execution and function app memory also increasing consistently.
This was resolved by enabling extendedSession in "in-proc" mode.. By enabling the extended session, 20 hours of execution was reduced to 1.5 hours. { "extensions": { "durableTask": { "extendedSessionsEnabled": true, "extendedSessionIdleTimeoutInSeconds": 30 } } }
Hi @Shakeebmm: Unfortunately, there's no direct equivalent of "extended sessions" in the isolated model yet. What's the performance difference you're seeing in the isolated mode?
Hi @davidmrdavid, There are 100k+ activity functions which are getting executed in batch of10 activities at a time.
Without extended session: gap between each batch getting increased. At the end of 100k activities, the gap is 3+ minutes. Orchestration trigger takes time to get the tracking details when the execution progress.
With extended session: Gap between each batch is consistent to couple of secs as the data is kept in session for 30 secs
I have a .NET 8 based "isolated" mode durable function which implements the fan out/fan in pattern.
Expected F2 count is 100k activity function calls, which is getting executed in batch of 20 F2 calls.
Delay between each batch getting increased along with the execution and function app memory also increasing consistently.
This was resolved by enabling extendedSession in "in-proc" mode.. By enabling the extended session, 20 hours of execution was reduced to 1.5 hours.
{ "extensions": { "durableTask": { "extendedSessionsEnabled": true, "extendedSessionIdleTimeoutInSeconds": 30 } } }
But in "isolated" mode, extended sessions are not supported.
https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-perf-and-scale#language-runtime-considerations
What is the solution/work around in "isolated" mode?
The text was updated successfully, but these errors were encountered: