Windows Azure Websites Latency

旧时模样 提交于 2019-12-24 14:13:34

问题


for a client a run a website on Windows Azure (Websites). I run in reserved mode and have two medium insances. I run these PHP sites on Windows and I have a separate MySQL server (running on Windows). Memory enough, no high utilization, but once every minute or two minutes I have an explained higher latency (3 seconds, instead of 300 milliseconds).

Does one experience the same behaviour, or recognize this?

All happens within one Windows Azure datacenter.

When I loadtest it with a tool, the tool thinks my website runs in Redmond, how come?


回答1:


I believe what you are seeing is an artifact of hot and cold websites. Windows Azure websites use a concept of hot websites for an active connection and after few seconds when there are no active connections to Azure websites, the websites becomes cold. And when a website is in cold mode it may take little longer to start in its first time however after subsequent connection the load time is very fast.

Similar discussion are found here: Very slow opening MySQL connection using MySQL Connector for .net



来源:https://stackoverflow.com/questions/15645050/windows-azure-websites-latency

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!