Windows Azure的网站延迟 [英] Windows Azure Websites Latency

查看:209
本文介绍了Windows Azure的网站延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为客户机上运行的Windows Azure(网站)网站。我保留模式下运行,并有两个中等insances。我在Windows上运行PHP这些网站和我有一个单独的MySQL服务器(在Windows上运行)。内存不够,没有利用率高,但每分钟一次,两分钟我有一个解释较高的延迟(3秒,而不是300毫秒)。

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?

一台Windows Azure的数据中心内的所有情况。

All happens within one Windows Azure datacenter.

当我用工具loadtest它,该工具认为我的网站在雷德蒙运行,怎么来的?

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

推荐答案

我相信你看到的是冷热网站的神器。 Windows Azure的网站使用热网站的概念的活动连接,并几秒钟后,当有天青网站没有主动联系,网站变得冰凉。并且当一个网站是在寒冷的模式可能需要一点时间在其第一次启动然而后续连接后的加载时间是非常快的。

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.

类似的讨论在这里找到:
<一href=\"http://stackoverflow.com/questions/12393614/very-slow-opening-mysql-connection-using-mysql-connector-for-net/12394795#12394795\">Very使用MySQL连接器.NET

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

这篇关于Windows Azure的网站延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆