Azure calls waiting a long time

48 views Asked by At

From time to time our blazor application that is hosted in azure does not respond (sometimes more than 30sec) When I look into application insights I notice it is always waiting

Waiting

The problem is I don't find what it is waiting for. I suspect there is another thread taking a long time like when a user uploads a file, generates a docx file or pdf file I tried looking into the trace file with perfView and jit stats view seems best i think. There I notice long functions like

image1

image2

But I don't understand what this is, called by who or why it takes long. Some stack traces:

trace1

trace2

trace3

Can someone point me in the direction where to look?

1

There are 1 answers

2
Suresh Chikkam On

The stack traces you've provided can offer valuable insights into the execution flow of the application and help identify potential bottlenecks. Look for patterns in the stack traces, including the functions and methods being called, to understand which parts of the application are contributing to the delays

  • Install and configure a local development environment that mirrors the configuration of the Azure hosting environment.

Ensure that necessary dependencies, tools, and frameworks are installed for local development and testing.

Focus on identifying the specific operations or tasks within the application that are taking a long time to complete. This might include file uploads,

  • Run the Blazor application locally and simulate the actions or operations that trigger performance delays observed in the Azure environment.

Use browser developer tools or Visual Studio's performance profiler to monitor and analyze performance metrics during local testing.

Reference: