Logic Apps Standard Performance Benchmark - Burst workloads

Published May 09 2022 12:35 PM 1,872 Views
Microsoft

 

In collaboration with Henry Liu and Rohitha Hewawasam

 

Intro

We are starting a series of blog posts to benchmark common Logic App patterns.

For the first post is in the series, we will be looking at an asynchronous burst load. In this scenario an HTTP request with a batch of messages (up to 100k) invokes a process that fans out and processes the messages in parallel. It is based on a real-life scenario, implemented by one of our enterprise customers, who was kind enough to allow us to use it to benchmark various performance characteristics of Logic Apps Standard across WS1, WS2, and WS3 plans.

 

Workflows

 

The scenario is implemented using a single Logic App Standard App, which contains two workflows:

  1. Dispatcher – a stateful workflow using an HTTP trigger with SplitOn configured.  It receives an array of messages in the request body to split on, and for each message, it invokes a stateless child workflow (Enricher)
  2. Enricher – A stateless workflow used for data processing. It contains data composition, data manipulation with inline JavaScript, outbound HTTP calls to a Function App, and various control statements.

Having the parent workflow as a stateful facilitates scaling out to multiple instances and distributing parent workflow runs across them. Having the data processing workflow as stateless allows messages to be processed with lower latency while achieving higher throughput.

 

The diagram below represents the scenario at a conceptual level:

 

Asynchronous burst workload conceptual designAsynchronous burst workload conceptual design

 

You can see the details of each logic app implementation in the diagrams below:

 

Dispatche logic app workflowDispatche logic app workflow

 

Enricher Logic Apps WorkflowEnricher Logic Apps Workflow

 

 

Results

 

The diagrams below represent a series of metrics collated to understand the performance of each Logic Apps Standard app service Plan. You should be able to reproduce those results by following the instructions on github repository, collating your own benchmark measurements from Application Insights. Some notes:

 

  • Sending telemetry to App Insights incurs in a performance penalty. As we wanted to take the most out of the app service plans, the data collated below were gathered with App Insights disabled, using internal telemetry. So, your collated data might vary slightly. For more information on how to run queries and analyze your own data, take a look at the series of Kusto queries available in the read.me file of the github repository.
  • The Logic App Standard implementation has the default scale out settings enabled, so the data below reflects auto-scaling from the application.

 

Execution Elapsed Time

 

The chart below represents the total time take to process a batch of 40k and 100k messages, respectively, when using a WS1, WS2 and WS3 app service plan:

 

Execution Elapsed TimeExecution Elapsed Time

 

Scaling profile

 

The scaling profile shows how each app service plan scaled overtime to meet the workload burst, using the default settings for elastic scale.

 

Scaling Profile per App Service Plan - 40 K MessagesScaling Profile per App Service Plan - 40 K Messages

 

 

 

Scaling Profile per App Service Plan - 100 K MessagesScaling Profile per App Service Plan - 100 K Messages

 

 

 

The diagram below shows some interesting points:

 

  • In both cases, the scaling engine responds quite quickly to the increase in load, adding more machines to support the load.
  • The number of instances is proportional to the size of each instance and relatively linear between them. This is expected, as both CPU and memory grows proportionally between plans (WS3 is two time the compute of WS2, which is two times the compute of WS1).
  • Compared to Integration Services Environment, the scaling for Logic Apps Standard happens much faster, as there we are dealing with smaller instances that can be spun much faster. The same can be said to scaling back in.

The table below shows the peak and average instance counts for each plan, to meet the 40k and 100k workloads, respectively:

 

Instance

Type

40k Messages Workload

100k Messages Workload

# instances (avg)

# instances (peak)

# instances (avg)

# instances (peak)

WS1

13.3

20

18.6

27

WS2

8.5

10

12.4

18

WS3

5

7

7.5

13

 

Execution Throughput

 

When it comes to execution throughput, we can analyze it from two points of view:

  • Actions execution throughput 
  • Workflow execution throughput

We decided to focus on actions execution throughput, which might help you understand the throughput that would be applied to your own workflow, as it can be quite different in terms of complexity from the example presented. For completeness, we will include queries to calculate workflow executions later.

 

The table below represents the number of actions executed in total for each burst workload, and per workflow execution. This should allow you to analyze throughput and draw comparisons with your own scenarios and workloads.  

 

Workflow type

# Actions (40k messages)

# Actions (100k messages)

Total

Per Execution

Total 

Per Execution

Dispatcher (stateful)

80000

2

200000

2

Enricher (stateless)

1080000

27

2700000

27

 

The set of diagrams below action execution throughput, highlighting peak, average and progress overtime:

 

Actions Throughput (40k messages) - Average x  PeakActions Throughput (40k messages) - Average x Peak

Actions Throughput (40k messages) - timelineActions Throughput (40k messages) - timeline

 

 

Actions Throughput (100k messages) - Average x  PeakActions Throughput (100k messages) - Average x Peak

Actions Throughput (100k messages) - timelineActions Throughput (100k messages) - timeline

 

 

One more time, as app service plans grows, throughput increases proportionally, for both peak and averages.

 

Execution Delay (95th percentile)

 

Execution delay is the measure of when a job is scheduled to be executed versus when it was actually executed. It is important to note that this value will never be zero, but a higher execution delay indicates that system resources are busy and jobs have to wait longer before they can be executed.

 

Execution Delay - Stateful Workflows

Execution Delay (95th percentile) - Stateful Workflows - 40k messagesExecution Delay (95th percentile) - Stateful Workflows - 40k messages

 

 

 

Execution Delay (95th percentile) - Stateless Workflows - 100k messagesExecution Delay (95th percentile) - Stateless Workflows - 100k messages

 

 

 

 

Execution Delay - Stateless Workflows

 

Execution Delay (95th percentile) - Stateless Workflows - 40k messagesExecution Delay (95th percentile) - Stateless Workflows - 40k messages

 

 

 

 

 

Execution Delay (95th percentile) - Stateless Workflows - 100k messagesExecution Delay (95th percentile) - Stateless Workflows - 100k messages

 

Execution delay is the time difference between when an action is scheduled to be executed and when it actually executed. An execution delay of 200ms or less is optimal. Higher execution delay means that current system resources are at capacity and scaling out is needed.

Another point to notice in the graphics above is how much the execution delay is improved when using Stateless workflows, compared to Stateful workflows.

 

CPU and Memory Utilization

 

The diagrams below present the CPU and memory utilization for each instance added to support the workload, in each on of the App Service Plans. The default scaling configuration will try to keep CPU utilization between 60% and 90%, as under 60% would indicate that the instance is under utilized, and 90% would indicate that the instance is under stress, leading to performance degradation. As usually CPU becomes a bottleneck much faster than memory, there is no default scaling for memory utilization. This can be confirmed by the data below.

 

90th Percentile CPU Percentage Utilization - 40K Messages Workload

 

CPU Utilization Per Minute - 40K Messages - WS1 App Service PlanCPU Utilization Per Minute - 40K Messages - WS1 App Service Plan

 

 

 

CPU Utilization Per Minute - 40K Messages - WS2 App Service PlanCPU Utilization Per Minute - 40K Messages - WS2 App Service Plan

 

 

CPU Utilization Per Minute - 40K Messages - WS3 App Service PlanCPU Utilization Per Minute - 40K Messages - WS3 App Service Plan

 

Average Memory Utilization (in Bytes) - 40K Message Workload

 

Memory Utilization (in Bytes) Per Minute - 40K Messages - WS1 App Service PlanMemory Utilization (in Bytes) Per Minute - 40K Messages - WS1 App Service Plan

 

Memory Utilization (in Bytes) Per Minute - 40K Messages - WS2 App Service PlanMemory Utilization (in Bytes) Per Minute - 40K Messages - WS2 App Service PlanMemory Utilization (in Bytes) Per Minute - 40K Messages - WS3 App Service PlanMemory Utilization (in Bytes) Per Minute - 40K Messages - WS3 App Service Plan

 

90th Percentile CPU Utilization - 100K Messages Workload

CPU Utilization Per Minute - 100K Messages - WS1 App Service PlanCPU Utilization Per Minute - 100K Messages - WS1 App Service Plan

 

CPU Utilization Per Minute - 100K Messages - WS2 App Service PlanCPU Utilization Per Minute - 100K Messages - WS2 App Service Plan

 

CPU Utilization Per Minute - 100K Messages - WS3 App Service PlanCPU Utilization Per Minute - 100K Messages - WS3 App Service Plan

 

Average Memory Utilization (in Bytes) - 100K Message Workload

 

Memory Utilization (in Bytes) Per Minute - 100K Messages - WS1 App Service PlanMemory Utilization (in Bytes) Per Minute - 100K Messages - WS1 App Service Plan

 

 

Memory Utilization (in Bytes) Per Minute - 100K Messages - WS2 App Service PlanMemory Utilization (in Bytes) Per Minute - 100K Messages - WS2 App Service Plan

 

 

Memory Utilization (in Bytes) Per Minute - 100K Messages - WS3 App Service PlanMemory Utilization (in Bytes) Per Minute - 100K Messages - WS3 App Service Plan

%3CLINGO-SUB%20id%3D%22lingo-sub-3317930%22%20slang%3D%22en-US%22%3ELogic%20Apps%20Standard%20Performance%20Benchmark%20-%20Burst%20workloads%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3317930%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EIn%20collaboration%20with%20Henry%20Liu%20and%20Rohitha%20Hewawasam%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-416940080%22%20id%3D%22toc-hId-416940150%22%3E%3CSPAN%3EIntro%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EWe%20are%20starting%20a%20series%20of%20blog%20posts%20to%20benchmark%20common%20Logic%20App%20patterns.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20the%20first%20post%20is%20in%20the%20series%2C%20we%20will%20be%20looking%20at%20an%20asynchronous%20burst%20load.%20In%20this%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Escenario%20an%20HTTP%20request%20with%20a%20batch%20of%20messages%20(up%20to%20100k)%20invokes%20a%20process%20that%20fans%20out%20and%20processes%20the%20messages%20in%20parallel.%20%3C%2FSPAN%3E%3CSPAN%3EIt%20is%20based%20on%20a%20real-life%20scenario%2C%20implemented%20by%20one%20of%20our%20enterprise%20customers%2C%20who%20was%20kind%20enough%20to%20allow%20us%20to%20use%20it%20to%20benchmark%20various%20performance%20characteristics%20of%20Logic%20Apps%20Standard%20across%20WS1%2C%20WS2%2C%20and%20WS3%20plans.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1107501554%22%20id%3D%22toc-hId-1107501624%22%3E%3CSPAN%3EWorkflows%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20scenario%20is%20implemented%20using%20a%20single%20Logic%20App%20Standard%20App%2C%20which%20contains%20two%20workflows%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3EDispatcher%20%E2%80%93%20a%20stateful%20workflow%20using%20an%20HTTP%20trigger%20with%20SplitOn%20configured.%26nbsp%3B%20It%20receives%20an%20array%20of%20messages%20in%20the%20request%20body%20to%20split%20on%2C%20and%20for%20each%20message%2C%20it%20invokes%20a%20stateless%20child%20workflow%20(Enricher)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EEnricher%20%E2%80%93%20A%20stateless%20workflow%20used%20for%20data%20processing.%20It%20contains%20data%20composition%2C%20data%20manipulation%20with%20inline%20JavaScript%2C%20outbound%20HTTP%20calls%20to%20a%20Function%20App%2C%20and%20various%20control%20statements.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%3EHaving%20the%20parent%20workflow%20as%20a%20stateful%20facilitates%20scaling%20out%20to%20multiple%20instances%20and%20distributing%20parent%20workflow%20runs%20across%20them.%20Having%20the%20data%20processing%20workflow%20as%20stateless%20allows%20messages%20to%20be%20processed%20with%20lower%20latency%20while%20achieving%26nbsp%3Bhigher%20throughput.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20diagram%20below%20represents%20the%20scenario%20at%20a%20conceptual%20level%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%3A%20center%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Asynchronous%20burst%20workload%20conceptual%20design%22%20style%3D%22width%3A%20460px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369330i2DCA13FC04069948%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_scenario.png%22%20alt%3D%22Asynchronous%20burst%20workload%20conceptual%20design%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAsynchronous%20burst%20workload%20conceptual%20design%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20see%20the%20details%20of%20each%20logic%20app%20implementation%20in%20the%20diagrams%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%3A%20center%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Dispatche%20logic%20app%20workflow%22%20style%3D%22width%3A%20211px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369331iB589545DC9E5730A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_dispatcher.png%22%20alt%3D%22Dispatche%20logic%20app%20workflow%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDispatche%20logic%20app%20workflow%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%3A%20center%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Enricher%20Logic%20Apps%20Workflow%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369332iFDE17D1FCB1119D3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_enricher.png%22%20alt%3D%22Enricher%20Logic%20Apps%20Workflow%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EEnricher%20Logic%20Apps%20Workflow%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1096998450%22%20id%3D%22toc-hId-1096998520%22%3EResults%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20diagrams%20below%20represent%20a%20series%20of%20metrics%20collated%20to%20understand%20the%20performance%20of%20each%20Logic%20Apps%20Standard%20app%20service%20Plan.%20You%20should%26nbsp%3Bbe%20able%20to%20reproduce%20those%20results%20by%20following%20the%20instructions%20on%26nbsp%3B%3CA%20title%3D%22Logic%20Apps%20Standard%20Benchmark%20-%20Async%20Burst%20Workload%22%20href%3D%22https%3A%2F%2Faka.ms%2Flastandardbenchmark%2Fasyncburstworkload%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Egithub%20repository%3C%2FA%3E%2C%20collating%20your%20own%20benchmark%20measurements%20from%20Application%20Insights.%20Some%20notes%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3ESending%20telemetry%20to%20App%20Insights%20incurs%20in%20a%20performance%20penalty.%20As%20we%20wanted%20to%20take%20the%20most%20out%20of%20the%20app%20service%20plans%2C%20the%20data%20collated%20below%20were%20gathered%20with%20App%20Insights%20disabled%2C%20using%20internal%20telemetry.%20So%2C%26nbsp%3Byour%20collated%20data%20might%20vary%20slightly.%20For%20more%20information%20on%20how%20to%20run%20queries%20and%20analyze%20your%20own%20data%2C%20take%20a%20look%20at%20the%20series%20of%20Kusto%20queries%20available%20in%20the%20read.me%20file%20of%20the%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Flastandardbenchmark%2Fasyncburstworkload%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Egithub%20repository%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EThe%20Logic%20App%20Standard%20implementation%20has%20the%20default%20scale%20out%20settings%20enabled%2C%20so%20the%20data%20below%20reflects%20auto-scaling%20from%20the%20application.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1787559924%22%20id%3D%22toc-hId-1787559994%22%3E%3CSPAN%3EExecution%20Elapsed%20Time%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20chart%20below%20represents%20the%20total%20time%20take%20to%20process%20a%20batch%20of%2040k%20and%20100k%20messages%2C%20respectively%2C%20when%20using%20a%20WS1%2C%20WS2%20and%20WS3%20app%20service%20plan%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Execution%20Elapsed%20Time%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369334i2CE981F3274D1480%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_elapsedtime.png%22%20alt%3D%22Execution%20Elapsed%20Time%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExecution%20Elapsed%20Time%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--19894539%22%20id%3D%22toc-hId--19894469%22%3EScaling%20profile%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20scaling%20profile%20shows%20how%20each%20app%20service%20plan%20scaled%20overtime%20to%20meet%20the%20workload%20burst%2C%20using%20the%20default%20settings%20for%20elastic%20scale.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Scaling%20Profile%20per%20App%20Service%20Plan%20-%2040%20K%20Messages%22%20style%3D%22width%3A%20987px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370066iFD487A89EAE909A3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_scaling_40k.png%22%20alt%3D%22Scaling%20Profile%20per%20App%20Service%20Plan%20-%2040%20K%20Messages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScaling%20Profile%20per%20App%20Service%20Plan%20-%2040%20K%20Messages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Scaling%20Profile%20per%20App%20Service%20Plan%20-%20100%20K%20Messages%22%20style%3D%22width%3A%20978px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370067i1A911F62FD70F942%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_scaling_100k.png%22%20alt%3D%22Scaling%20Profile%20per%20App%20Service%20Plan%20-%20100%20K%20Messages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScaling%20Profile%20per%20App%20Service%20Plan%20-%20100%20K%20Messages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20diagram%20below%20shows%20some%20interesting%20points%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIn%20both%20cases%2C%20the%20scaling%20engine%20responds%20quite%20quickly%20to%20the%20increase%20in%20load%2C%20adding%20more%20machines%20to%20support%20the%20load.%3C%2FLI%3E%0A%3CLI%3EThe%20number%20of%20instances%20is%20proportional%20to%20the%20size%20of%20each%20instance%20and%20relatively%20linear%20between%20them.%20This%20is%20expected%2C%20as%20both%20CPU%20and%20memory%20grows%20proportionally%20between%20plans%20(WS3%20is%20two%20time%20the%20compute%20of%20WS2%2C%20which%20is%20two%20times%20the%20compute%20of%20WS1).%3C%2FLI%3E%0A%3CLI%3ECompared%20to%20Integration%20Services%20Environment%2C%20the%20scaling%20for%20Logic%20Apps%20Standard%20happens%20much%20faster%2C%20as%20there%20we%20are%20dealing%20with%20smaller%20instances%20that%20can%20be%20spun%20much%20faster.%20The%20same%20can%20be%20said%20to%20scaling%20back%20in.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThe%20table%20below%20shows%20the%20peak%20and%20average%20instance%20counts%20for%20each%20plan%2C%20to%20meet%20the%2040k%20and%20100k%20workloads%2C%20respectively%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20style%3D%22%20text-align%3A%20center%3B%20%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20rowspan%3D%222%22%20width%3D%2242.343268242548824%25%22%20height%3D%2260px%22%3E%3CP%3E%3CSPAN%3EInstance%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EType%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20colspan%3D%222%22%20width%3D%2228.776978417266186%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E40k%20Messages%20Workload%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20colspan%3D%222%22%20width%3D%2228.776978417266186%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E100k%20Messages%20Workload%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E%23%20instances%20(avg)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E%23%20instances%20(peak)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E%23%20instances%20(avg)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E%23%20instances%20(peak)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2242.343268242548824%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3EWS1%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E13.3%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E20%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E18.6%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E27%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2242.343268242548824%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3EWS2%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E8.5%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E10%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E12.4%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E18%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2242.343268242548824%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3EWS3%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E5%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E7%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E7.5%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2214.388489208633093%25%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E13%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH3%20id%3D%22toc-hId--1827349002%22%20id%3D%22toc-hId--1827348932%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId-660163831%22%20id%3D%22toc-hId-660163901%22%3EExecution%20Throughput%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20it%20comes%20to%20execution%20throughput%2C%20we%20can%20analyze%20it%20from%20two%20points%20of%20view%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EActions%20execution%20throughput%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EWorkflow%20execution%20throughput%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%20decided%20to%20focus%20on%20actions%20execution%20throughput%2C%20which%20might%20help%20you%20understand%20the%20throughput%20that%20would%20be%20applied%20to%20your%20own%20workflow%2C%20as%20it%20can%20be%20quite%20different%20in%20terms%20of%20complexity%20from%20the%20example%20presented.%20For%20completeness%2C%20we%20will%20include%20queries%20to%20calculate%20workflow%20executions%20later.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20table%20below%20represents%20the%20number%20of%20actions%20executed%20in%20total%20for%20each%20burst%20workload%2C%20and%20per%20workflow%20execution.%20This%20should%20allow%20you%20to%20analyze%20throughput%20and%20draw%20comparisons%20with%20your%20own%20scenarios%20and%20workloads.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20style%3D%22%20text-align%3A%20center%3B%20%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20rowspan%3D%222%22%20width%3D%22137px%22%20height%3D%2287px%22%3E%3CP%3E%3CSPAN%3EWorkflow%20type%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20colspan%3D%222%22%20width%3D%22236px%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E%23%20Actions%20(40k%20messages)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20colspan%3D%222%22%20width%3D%22250px%22%20height%3D%2230px%22%3E%3CP%3E%3CSPAN%3E%23%20Actions%20(100k%20messages)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22134px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3ETotal%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22102px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3EPer%20Execution%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22134px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3ETotal%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22116px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3EPer%20Execution%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22137px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3EDispatcher%20(stateful)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22134px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E80000%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22102px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E2%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22134px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E200000%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22116px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E2%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22137px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3EEnricher%20(stateless)%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22134px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E1080000%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22102px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E27%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22134px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E2700000%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22116px%22%20height%3D%2257px%22%3E%3CP%3E%3CSPAN%3E27%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20set%20of%20diagrams%20below%20action%20execution%20throughput%2C%20highlighting%20peak%2C%20average%20and%20progress%20overtime%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Actions%20Throughput%20(40k%20messages)%20-%20Average%20x%20%20Peak%22%20style%3D%22width%3A%20454px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369342iD7350AA6CD705E5A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_throughtput40k.png%22%20alt%3D%22Actions%20Throughput%20(40k%20messages)%20-%20Average%20x%20Peak%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EActions%20Throughput%20(40k%20messages)%20-%20Average%20x%20Peak%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Actions%20Throughput%20(40k%20messages)%20-%20timeline%22%20style%3D%22width%3A%20970px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370071i2E73555D749F40BE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_throughtput40k_timeline.png%22%20alt%3D%22Actions%20Throughput%20(40k%20messages)%20-%20timeline%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EActions%20Throughput%20(40k%20messages)%20-%20timeline%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Actions%20Throughput%20(100k%20messages)%20-%20Average%20x%20%20Peak%22%20style%3D%22width%3A%20485px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369343iF370EE83F7169EA9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_throughtput100k.png%22%20alt%3D%22Actions%20Throughput%20(100k%20messages)%20-%20Average%20x%20Peak%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EActions%20Throughput%20(100k%20messages)%20-%20Average%20x%20Peak%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Actions%20Throughput%20(100k%20messages)%20-%20timeline%22%20style%3D%22width%3A%20970px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370072i17A35A265F134A2C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_throughtput100k_timeline.png%22%20alt%3D%22Actions%20Throughput%20(100k%20messages)%20-%20timeline%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EActions%20Throughput%20(100k%20messages)%20-%20timeline%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20more%20time%2C%20as%20app%20service%20plans%20grows%2C%20throughput%20increases%20proportionally%2C%20for%20both%20peak%20and%20averages.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1147290632%22%20id%3D%22toc-hId--1147290562%22%3EExecution%20Delay%20(95th%20percentile)%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExecution%20delay%20is%20the%20measure%20of%20when%20a%20job%20is%20scheduled%20to%20be%20executed%20versus%20when%20it%20was%20actually%20executed.%20It%20is%20important%20to%20note%20that%20this%20value%20will%20never%20be%20zero%2C%20but%20a%20higher%20execution%20delay%20indicates%20that%20system%20resources%20are%20busy%20and%20jobs%20have%20to%20wait%20longer%20before%20they%20can%20be%20executed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3EExecution%20Delay%20-%20Stateful%20Workflows%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateful%20Workflows%20-%2040k%20messages%22%20style%3D%22width%3A%20963px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370075i2AB2D4543E203C1D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_95perc_stateful_40k.png%22%20alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateful%20Workflows%20-%2040k%20messages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExecution%20Delay%20(95th%20percentile)%20-%20Stateful%20Workflows%20-%2040k%20messages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%20100k%20messages%22%20style%3D%22width%3A%20958px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370076i88FDE949DB73A40E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_95perc_stateful_100k.png%22%20alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%20100k%20messages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExecution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%20100k%20messages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3EExecution%20Delay%20-%20Stateless%20Workflows%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%2040k%20messages%22%20style%3D%22width%3A%20965px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370077i0CF1FD7ACDCD7B76%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_95perc_stateless_40k.png%22%20alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%2040k%20messages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExecution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%2040k%20messages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%20100k%20messages%22%20style%3D%22width%3A%20963px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370078i1187D3D0EA86A73A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_95perc_stateless_100k.png%22%20alt%3D%22Execution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%20100k%20messages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExecution%20Delay%20(95th%20percentile)%20-%20Stateless%20Workflows%20-%20100k%20messages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExecution%20delay%20is%20the%20time%20difference%20between%20when%20an%20action%20is%20scheduled%20to%20be%20executed%20and%20when%20it%20actually%20executed.%20An%20execution%20delay%20of%20200ms%20or%20less%20is%20optimal.%20Higher%20execution%20delay%20means%20that%20current%20system%20resources%20are%20at%20capacity%20and%20scaling%20out%20is%20needed.%3C%2FP%3E%0A%3CP%3EAnother%20point%20to%20notice%20in%20the%20graphics%20above%20is%20how%20much%20the%20execution%20delay%20is%20improved%20when%20using%20Stateless%20workflows%2C%20compared%20to%20Stateful%20workflows.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1340222201%22%20id%3D%22toc-hId-1340222271%22%3ECPU%20and%20Memory%20Utilization%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20diagrams%20below%20present%20the%20CPU%20and%20memory%20utilization%20for%20each%20instance%20added%20to%20support%20the%20workload%2C%20in%20each%20on%20of%20the%20App%20Service%20Plans.%20The%20default%20scaling%20configuration%20will%20try%20to%20keep%20CPU%20utilization%20between%2060%25%20and%2090%25%2C%20as%20under%2060%25%20would%20indicate%20that%20the%20instance%20is%20under%20utilized%2C%20and%2090%25%20would%20indicate%20that%20the%20instance%20is%20under%20stress%2C%20leading%20to%20performance%20degradation.%20As%20usually%20CPU%20becomes%20a%20bottleneck%20much%20faster%20than%20memory%2C%20there%20is%20no%20default%20scaling%20for%20memory%20utilization.%20This%20can%20be%20confirmed%20by%20the%20data%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E90th%20Percentile%20CPU%20Percentage%20Utilization%20-%2040K%20Messages%20Workload%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%20%3A%20left%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%20%3A%20left%3B%20%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22CPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20style%3D%22width%3A%20944px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370237i8209000E630B66C5%2Fimage-dimensions%2F944x327%3Fv%3Dv2%22%20width%3D%22944%22%20height%3D%22327%22%20role%3D%22button%22%20title%3D%22hongzli_0-1652115687028.png%22%20alt%3D%22CPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS1%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%20%3A%20left%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20text-align%20%3A%20left%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22CPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20style%3D%22width%3A%20975px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370238i12BE17F728945299%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hongzli_0-1652115781572.png%22%20alt%3D%22CPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS2%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22CPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20style%3D%22width%3A%20975px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370239iBB8CE7B61C3F53F3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hongzli_1-1652115821705.png%22%20alt%3D%22CPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECPU%20Utilization%20Per%20Minute%20-%2040K%20Messages%20-%20WS3%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAverage%20Memory%20Utilization%20(in%20Bytes)%20-%2040K%20Message%20Workload%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369620i8F9B45C0D662877D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_memutilization_40k_WS1.png%22%20alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMemory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS1%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369619i8729BF647DBC98C2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_memutilization_40k_WS2.png%22%20alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMemory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS2%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369618i63DAFF976C15C04A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_memutilization_40k_WS3.png%22%20alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMemory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%2040K%20Messages%20-%20WS3%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E90th%20Percentile%20CPU%20Utilization%20-%20100K%20Messages%20Workload%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22CPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20style%3D%22width%3A%20975px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370240i24E90153E151CEB5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hongzli_2-1652115884512.png%22%20alt%3D%22CPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS1%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22CPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20style%3D%22width%3A%20975px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370241i1B4E2717DCFF691E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hongzli_3-1652115891621.png%22%20alt%3D%22CPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS2%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22CPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370242i5AE428A99344A0A7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22hongzli_4-1652115898732.png%22%20alt%3D%22CPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ECPU%20Utilization%20Per%20Minute%20-%20100K%20Messages%20-%20WS3%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAverage%20Memory%20Utilization%20(in%20Bytes)%20-%20100K%20Message%20Workload%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369623i6FAA769693CA52EC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_memutilization_100k_WS1.png%22%20alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS1%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMemory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS1%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369622iF9D349B907A824FB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_memutilization_100k_WS2.png%22%20alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS2%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMemory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS2%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369621iAFA827F6969518BB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22la_benchmark_chart1_memutilization_100k_WS3.png%22%20alt%3D%22Memory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS3%20App%20Service%20Plan%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMemory%20Utilization%20(in%20Bytes)%20Per%20Minute%20-%20100K%20Messages%20-%20WS3%20App%20Service%20Plan%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3317930%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20starting%20a%20series%20of%20blog%20posts%20to%20benchmark%20common%20Logic%20App%20patterns.%20This%20post%20is%20the%20first%20in%20the%20series%2C%20and%20we%20will%20be%20looking%20at%20an%20asynchronous%20burst%20load.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3317930%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELogic%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎May 09 2022 12:37 PM
Updated by: