Skip to content

The parallel activity functions of durable function #2249

Answered by cgillum
maonaoda asked this question in Q&A
Discussion options

You must be logged in to vote

It's possible to fan-out/fan-in tens of thousands of activities using a single Task.WhenAll(). We do this in our own internal performance tests using "Hello, world"-style activities. A downside to doing this are that the orchestration may become a bottleneck for overall throughput. It may also have a big memory impact on your app if the orchestration has to keep all the activity results in memory in order to complete. Using extended sessions can be helpful to mitigate some of these problems if your activity functions are short-lived.

A simple alternative that addresses these problems in a fundamental way is to break up your big orchestration into smaller orchestrations. For example, if yo…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@maonaoda
Comment options

@davidmrdavid
Comment options

@maonaoda
Comment options

@davidmrdavid
Comment options

Answer selected by maonaoda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants