Azure API Latency / timeouts when the server is not under heavy load

I have an Azure App Service working with MVC Web API. It connects to DB and Redis cache. API calls take a huge amount of time or time. I reversed the methods to do next to nothing.

    public HttpResponseMessage GetData()
    {
           Request.CreateResponse(HttpStatusCode.OK, "abc");
    }

      

I still have the same problem. The web server is not under any pressure, nor is there a DB, and below 30%. I can't figure out where to start.

This method is called quite a lot, so there can be many concurrent requests. I am running an S3 Application Servicing Plan which should be more than sufficient.

Any suggestions on how to worry is greatly appreciated? I can only think that this is the number of concurrent requests.

+3


source to share


1 answer


As far as I know, this problem is often caused by:

requests taking a long time
application using high memory/CPU
application crashing due to an exception.

      

I suggest that you first enable diagnostic logging for your web application. Using this method, you can find detailed information about detailed error, failed request trace, webserver maintenance in your web application. For more details, you can refer to the following link: Enable diagnostic logging for web apps in Azure App Service

You can also use the Azure App Support Portal. Using this method, you can troubleshoot problems with your web application by looking for HTTP logs, event logs, process dumps, etc.



You can access all of this information using our support portal at http: //.scm.azurewebsites.net/Support

See the link below for more details: New Updates to Support Site Extension for Azure Websites

Alternatively, you can also refer to this article: Troubleshoot slow web application performance in Azure App Service

0


source







All Articles