本文介绍了Azure 应用服务计划 - 分钟/天是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有 1 个 MSSQL 数据库和一个表的 ASMX 网络服务.我目前已在 App Service 中将其部署到 Azure我已从免费试用升级为按使用付费计划.我真的对应用服务计划

I have ASMX webservice with 1 MSSQL Database and a Single Table.I have currently deployed it to Azure in the App ServiceI have upgraded from Free Trial to Pay Per Use Plan.I'm really confused with the App Service Plan

ASMX 服务由桌面应用程序调用,它只有几个方法,只是从数据库中获取和返回数据.最多 100 个用户将使用它,最多可以进行 1000 个方法调用.

The ASMX Service is called by a Desktop application and it only has a few methods,just to fetch and return data from database.At max 100 users will be using it and may be a maximum of 1000 method calls may be made.

60 分钟/天是什么意思?网络服务只能运行 60 分钟?我真的很困惑.请指教

What does 60 minutes/day mean? The webservice can function for only 60 minutes?I'm really confused.Please advice

推荐答案

想想列出的分钟数类似于 Azure Functions 上的消耗计划.当您的网站响应请求时,它会处于活动状态并且您的时钟".当站点空闲一段时间后,它会有效地进入睡眠状态,而您下班".免费和共享层不是永远在线".如果您的计算分钟使用量超过配额(60 或 240 分钟),则 Azure 将向浏览器返回 403 消息,并且您的站点将不可用,直到第二天的配额重置.免费和共享计划确实不是为生产而设计的.如果您认为可以将 1000 次方法调用压缩到这些时间限制内,那太好了……这可能是一个更便宜的解决方案.但是您应该期望返回 403 并且您的请求没有被满足的可能性.如果您的桌面应用很重要并且确实需要此服务,您最好为 Basic (B1) 付费.

Think of the minutes listed similar to a consumption plan on Azure Functions. When your website is responding to requests, it active and your "on the clock." When the site has been idle for a while, it will effectively go to sleep and you are "off the clock." Free and shared tiers are not "Always On". If your compute minute usage exceeds the quota (60 or 240 minutes), then Azure will return a 403 message to the browser and your site is unavailable until the quota resets for the next day. Free and Shared plans are really not designed for production. If you think you can squeeze your 1000 method calls into those time limits, great...it may be a cheaper solution. But you should expect the possibility of a 403 being returned and your request not being fulfilled. If your desktop app is important and really needs this service, you are probably better off paying for Basic (B1).

这篇关于Azure 应用服务计划 - 分钟/天是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 22:22