简体   繁体   English

如果每 1 分钟发出 HTTP 请求,Azure 应用服务是否会被卸载?

[英]Does Azure App Service gets unloaded if it makes HTTP Request every 1 minute?

i'm having a weird bug an i suspect that the Always On could be the key to resolve the problem here.我有一个奇怪的错误,我怀疑Always On可能是解决这里问题的关键。 According to the document here根据这里的文件在此处输入图像描述

The app will get unloaded if there's no coming traffic to it.如果没有流量,该应用程序将被卸载。 Does it also get unloaded when i have a Hangfire background service attached to my service which perform a HTTP request to another service every 1 minute?当我有一个 Hangfire 后台服务附加到我的服务时,它是否也会被卸载,该服务每 1 分钟向另一个服务执行 HTTP 请求? I can't find it anywhere in the document since it states no incoming traffic and doesn't mention anything about outcoming traffic .我无法在文档中的任何地方找到它,因为它声明no incoming traffic ,也没有提及任何关于outcoming traffic的信息。

One more question, do i need to restart my Azure App Service to apply the configuration when switching the Always On from off to on ?还有一个问题,当将Always Onoff切换到on时,我是否需要重新启动我的 Azure App Service 以应用配置?

Yes, Always On should be set in order to work.是的,应该设置Always On才能工作。 You have it also mentioned in the documentation https://docs.hangfire.io/en/latest/deployment-to-production/making-as.net-app-always-running.html您在文档https://docs.hangfire.io/en/latest/deployment-to-production/making-as.net-app-always-running.html中也提到了它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何为Azure App Service上的每个请求设置自定义标头? - How to set custom headers for every request on Azure App Service? 可以每分钟查询一次Azure Cosmos DB的服务吗? - Is it okay to do a service that query Azure Cosmos DB every minute? Azure 应用服务多容器 - 对内部容器的 http 请求(docker compose) - Azure app service multi container - http request to internal container (docker compose) Azure应用服务出站请求超时 - Azure App Service outbound request timeout Azure应用服务-请求中的GZip压缩 - Azure App Service- GZip Compression in Request 每隔一分钟运行一次Windows服务 - Running the windows service for every one minute Windows服务在特定分钟内每小时运行一次 - Windows Service run every hour in specific minute 如何在 OnModelCreating() 中使用 Scoped Service 在每个 HTTP 请求之后 Dispose()? - How to Dispose() after every HTTP request using Scoped Service in OnModelCreating()? 当 iOS 应用程序处于后台时,HttpClient Web 服务请求被取消 - HttpClient web service request gets canceled when iOS app is backgrounded 每分钟更新Windows 8应用程序中的图块图像 - Update tile image every minute windows 8 app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM