Lukas Kabrt
Lukas Kabrt

Reputation: 5489

Azure websites - high latency

We are hosting several ASP.NET MVC sites on Azure (Wesites in standard mode) and recently we have run into an issue with high latency - the server takes very long time to respond even for static files.

The developer console in Chrome shows these data for a sample image file (100kB):

We have configured autoscaling, so the website can scale out if the server gets to busy, but it doesn't seem to help.

Any idea, where the problem could be?

Edit:

The site is hosted in the West Europe region.

It appears, that the problem isn't in our ASP.NET application. I have created a new website that contains only static files and response times are also bad.

Upvotes: 1

Views: 574

Answers (2)

Alexandr Nikitin
Alexandr Nikitin

Reputation: 7436

I copy-paste the answer from my question because I think we have the same problem

I got a reply from Windows Azure Web Sites Team on MSDN forum:

We have identified this issue as a bug in new Auto-Heal feature we shipped recently. Please add following in your web.config file to mitigate this issue for now.

<configuration>
    <system.webServer>
        <monitoring>
            <triggers>
                <slowRequests timeTaken="02:00:00" count="1000000000" timeInterval="00:01:00" />
            </triggers>
            <actions value="LogEvent" />
        </monitoring>
    </system.webServer>
</configuration>

We are working on releasing the fix ASAP.

Apologies for inconvenience.

Windows Azure Web Sites Team

Update: The workaround works only in Standard mode. It throws an error in Shared or Free mode, so be aware.

Upvotes: 0

twomm
twomm

Reputation: 591

Switching to instance size M has solved this for us ... for now.

Upvotes: 2

Related Questions