[Node.js] [移动应用程序] Azure移动应用程序在第一次请求时始终缓慢 [英] [Node.js][Mobile Apps] Azure Mobile Apps Consistently Slow on First Request

查看:54
本文介绍了[Node.js] [移动应用程序] Azure移动应用程序在第一次请求时始终缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这个论坛和其他网站上搜索我发现,如果在一段时间内没有访问您的应用程序,则默认配置是卸载您的应用程序。这很烦人,我想把它转过来。 

Searching around this forum and other websites I found out it seems the default configuration is to unload your application if it haven't been accessed for a certain amount of time. This is pretty annoying and I'd like to turn it of. 

我知道你至少需要参加STANDARD PRICE TIER(我在S2上)然后开启始终在应用程序设置中打开(也已完成)。我已经完成了这两件事,但第一次加载仍然每次都持续20秒。

I read you need to be on the STANDARD PRICE TIER at least (I'm on S2) and turn on ALWAYS ON in the application settings (also done that). I've done both of those things but the first load still clocks at 20 seconds consistently every time. 

那么我怎样才能改变这个选项来改善第一个请求时间到可接受的数字(约2秒)? 

So how can I turn this option of to improve the first request timing to an acceptable number (around 2 seconds)? 

以下是我所谈论的3个参考文献,其中两个来自同一个论坛:

Here are 3 references of what I'm talking about, two from this same forum:

https://social.msdn.microsoft.com/Forums/azure/en-US/b6f60db4-f829-4c23-a4b0-f651cd2b8423/first-api-call-to-mobile-services-is-very-slow?forum= azuremobile

https://social.msdn.microsoft.com/Forums/azure/en-US/b6f60db4-f829-4c23-a4b0-f651cd2b8423/first-api-call-to-mobile-services-is-very-slow?forum=azuremobile

https://social.msdn.microsoft.com/Forums/azure/en-US/ea4492e7-a007-4873-a6e1-136892698142/very-slow-first-mobile-服务呼叫一分钟后的活动?论坛= azuremobile

https://social.msdn.microsoft.com/Forums/azure/en-US/ea4492e7-a007-4873-a6e1-136892698142/very-slow-first-mobile-service-call-after-one-minute-incativity?forum=azuremobile

http://wp.sjkp.dk/windows-azure-websites-and-cloud-services-slow- on-first-request /

http://wp.sjkp.dk/windows-azure-websites-and-cloud-services-slow-on-first-request/

非常感谢!

推荐答案

您好Dan,

您应用的网址是什么? 如果你在S2上,我不认为这应该发生。

What is the URL for your app?  I don't think this should be happening if you're on S2.


这篇关于[Node.js] [移动应用程序] Azure移动应用程序在第一次请求时始终缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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