Skip to content

Commit 502f00a

Browse files
authored
Merge pull request #106093 from cgillum/patch-11
Adding note about replay behavior with Task.WhenAll
2 parents 0e25e4d + b0d56fc commit 502f00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/durable/durable-functions-perf-and-scale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ The specific effects of extended sessions on orchestrator and entity functions a
215215

216216
### Orchestrator function replay
217217

218-
As mentioned previously, orchestrator functions are replayed using the contents of the **History** table. By default, the orchestrator function code is replayed every time a batch of messages are dequeued from a control queue. When extended sessions are enabled, orchestrator function instances are held in memory longer and new messages can be processed without a full history replay.
218+
As mentioned previously, orchestrator functions are replayed using the contents of the **History** table. By default, the orchestrator function code is replayed every time a batch of messages are dequeued from a control queue. Even if you are using the fan-out, fan-in pattern and are awaiting for all tasks to complete (for example, using `Task.WhenAll` in .NET or `context.df.Task.all` in JavaScript), there will be replays that occur as batches of task responses are processed over time. When extended sessions are enabled, orchestrator function instances are held in memory longer and new messages can be processed without a full history replay.
219219

220220
The performance improvement of extended sessions is most often observed in the following situations:
221221

0 commit comments

Comments
 (0)