I recently ran into some pretty weird performance issues with the SQL Azure / Web Apps / Entity Framework.
It seems that sometimes database accesses (both read and write requests) hang anywhere between a few seconds and a few minutes (!). This happens even when you select a query in a table with 4 columns containing 5 rows of data.
The problem occurs by chance and does not reproduce. Upgrading a DB to a higher level of performance does not seem to have any effect. Both the web application and the sql azure database are in the same region.
The performance graph of a database usually has a flat shell of about 0.5% of resource use with a random spike of up to about 5%, so the problem, of course, is not related to resource limitations.
I would have no idea how to start an investigation of a problem, given its intermittent nature. I would really appreciate any feedback. Last week problem
Could this be due to how the Entity Framework handles DB connections specifically with sql azure? Testing on local SQL Express has never caused anything like this.
source share