Hi @Rob Joosen - Consumption SKU runs on multitenant environment where overall CPU/memory resources are shared by other apps. It could just be that the multitenancy could be the cause. I'd like to take a closer look into your app though so I'll reach out via private messaging for more info.
Logic App: Initialize variable takes a long time
Hi,
Sometimes I see that just an initialization of a variable in a Logic App (Consumption) takes more then 10 seconds. Not just once but very often I saw that behavior.
Can anyone explain this? (RunID = 08584918875000017742867045231CU242)
Azure Logic Apps
1 additional answer
Sort by: Most helpful
-
Sonny Gillissen 3,996 Reputation points Volunteer Moderator2024-03-07T10:10:30.1366667+00:00 Hi Rob Joosen,
Thank you for reaching out on Microsoft Q&A!
Logic App actions are, just as triggers etc., placed on a queue. So the processing time itself is not that long, but the lead time can be. If you look at the run details you can check the actual execution times as well as lead times. Unfortunately, this is something to cope with and not something you can configure.
If you need more control over this queueing, you can change to Logic App Standard, which provides you with reserved resources to speed things up. However, keep in mind that this has other pros and cons, such as fixed pricing per month (which can be higher than Consumption Apps) and resource limits when your logic isn't built correctly (hanging the process basically).
So that's the consideration: can you wait for it then Consumption will be okay. If you need speedy responses you can try to revert to Logic App Standard, or even: no Logic Apps at all, when this is a possibility off course depending on your scenario.
Please click “Accept answer” if you find this helpful. Feel free to drop additional queries in the comments below!
Kind regards,
Sonny