Skip to content

Commit b0d56fc

Browse files
authored
Adding note about replays behavior with Task.WhenAll
Resolves Azure/azure-functions-durable-extension#1022.
1 parent 2625123 commit b0d56fc

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)