[英]My Azure WebApp seems to go idle even with AlwaysOn turned on
I have two an Azure WebApps. 我有两个Azure WebApp。 Both of them have the "AlwaysOn" option set to true, but even now the WebApps go idle after a bit.
他们两个都将“ AlwaysOn”选项设置为true,但是即使现在WebApp仍会闲置一会儿。
If I don't query the WebApp for a few minutes, the next request I make to the WebApp takes significantly longer. 如果几分钟没有查询WebApp,则我对WebApp的下一个请求将花费更长的时间。 Too long to be acceptable for production.
太长,无法接受生产。
The WebApp runs a C# ASP.NET MVC 5 project which is my project's API. WebApp运行一个C#ASP.NET MVC 5项目,这是我项目的API。
Can I do anything to prevent this from keeping on happening? 我能做些什么来防止这种情况继续发生吗?
It seems like having turned off the HTTP to HTTPS rewrite solved the issue. 似乎关闭了HTTP到HTTPS的重写已解决了该问题。 The response is still slow, but much faster than before.
响应仍然很慢,但是比以前快得多。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.