CodexBloom - Programming Q&A Platform

Azure Logic Apps - Timeout implementing HTTP Action in High Load Scenarios

👀 Views: 22 đŸ’Ŧ Answers: 1 📅 Created: 2025-06-16
azure logic-apps http JSON

I'm working with a frustrating scenario with Azure Logic Apps when trying to handle high load scenarios. My logic app is designed to make HTTP calls to an external API to fetch user data, but when the number of concurrent requests exceeds 50, I start receiving a timeout behavior. Specifically, the behavior message I get is: ``` The HTTP request timed out. ``` I have already increased the timeout settings for the HTTP action to 120 seconds, but it doesn't seem to have any effect under heavy load. Here's the relevant part of my Logic App definition: ```json { "type": "Http", "inputs": { "method": "GET", "uri": "https://api.example.com/userdata", "timeout": "PT120S" } } ``` I've also implemented retry policies, but they don't trigger if the request simply hangs without throwing an behavior. I've tried breaking the load into smaller batches, but ideally, I need a smoother handling under peak load. Additionally, I monitored the Azure Monitor metrics and noticed that the Logic App execution time spikes significantly when the load increases, but there's no indication of throttling on the external API side. Is there a recommended approach to manage this scenario? Are there specific configurations or patterns I should consider to better handle high traffic, or should I look into using Azure Function to manage the HTTP calls more efficiently? Any advice would be greatly appreciated! For reference, this is a production service. Thanks for taking the time to read this!