How many work flows can you have in a single logic app?

Welcome to our latest insight into optimising Logic Apps for enhanced performance. In our recent webinar, we delved into the intricacies of Logic Apps, focusing on a common query: the maximum number of workflows that can be efficiently managed within a single Logic App. This piece explores the architecture of Logic Apps, the role of workflows as the backbone of process logic, and how they are deployed and managed. We’ll also discuss the impact of workflows on hosting plans, storage accounts, and overall performance. Whether you’re an experienced developer or new to the world of Logic Apps, join us as we unravel the balance between maximising capabilities and ensuring optimal performance. Discover the fine line between knowledge and wisdom in application development, and learn why sometimes, less is indeed more.

Here’s the video transcript: 

We recently held a webinar on Logic Apps’ performance, and one of the questions we were asked was, “How many workflows can you have in a single Logic App?” Let’s delve into this a little bit further. So, for those of you who don’t know, we have workflows. And workflows are process logic. Now, they get deployed inside a Logic App, and a Logic App is a unit of deployment.

So, one Logic App can have multiple workflows. Now, they need to sit on a hosting plan because the hosting plan is the compute that runs this. And you can have multiple Logic Apps on the same hosting plan. But a Logic App also talks to a storage account. So, the more workflows you’ve got, the more pressure you’re going to put on your storage.

So, there’s a performance impact there. But also, when you run a single workflow, the hosting plan will load the entire Logic App into memory. So again, the more workflows you’ve got, the more memory is going to be consumed by the hosting plan. And the hosting plan, under the bonnet, is just a virtual machine. It’s got limits.

It’s got limits to CPU; it’s got limits to memory. So, we want to make sure that we’re trying to divide our applications up in such a way that we can sensibly apportion work onto the hosting plan without overloading it. This is a really long way of getting about to the answer, which is that there actually is no limit to the number of workflows in a Logic App. However, the guideline is maybe ten to 15. And if you get more than 15, you should really start to look at how you can break them up because that will help you scale out easier.

And so, it’s a bit like the difference between knowledge and wisdom. Knowledge is knowing a tomato is a fruit; wisdom is knowing you don’t put one in a fruit salad.

Chat to us about your Integration journey

Get in touch

Share this post

happy holidays

we want to hear from you

https://calendly.com/345andrew/30min