一个应用程序有多少个应用程序服务? [英] How many App Services for one application?

查看:59
本文介绍了一个应用程序有多少个应用程序服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Azure应用程序服务计划可以托管无限的应用程序(API或Web),对于同一服务计划,如果将API应用程序部署到多个Web API应用程序或单个应用?

As an a Azure app service plan can host unlimited apps (api or web), for the same service plan, would API apps function any differently (e.g. perform worse or better) if they are deployed to multiple Web API apps or a single app?

例如我有500个用于业务应用程序的API.从性能和管理的角度来看,部署到一个应用程序比部署到多个应用程序更好或更差?从管理角度来看,拥有多个应用程序需要做更多的工作(例如,分别为每个应用程序配置CORS).

E.g. I have 500 APIs for line of business application. From a performance and management perspective is deploying to one app better or worse than deploying to multiple apps? From a management perspective I can see it being more work having multiple apps (e.g. configuring CORS for each app separately).

推荐答案

从外部回答此问题而不知道您的应用程序的唯一方法是取决于".完全没有理由在浏览器中使用现代前端框架与Web api进行通信的大小合适的现代应用程序不能在具有适当大小的应用程序服务计划的单个应用程序服务上运行.

The only way to answer this from the outside without knowing anything about your app is "it depends". There’s no reason a decently sized modern app which leverages a modern front end framework in the browser talking to web apis can’t run on a single app service with an appropriately sized app service plan.

从此处开始,然后测量性能并在正常负载下观察系统的运行状况.如果应用程序需要它,请扩大应用程序服务计划.如果您想要更强大的功能,并且编写了应用程序来支持它,请扩展您的应用程序服务计划.

Start there and then measure performance and watch your system health under normal load. If the app needs it, scale up the app service plan. If you want something more robust, and your app is written to support it, scale out your app service plan.

应用程序服务是如此易于扩展和衡量,只需做一些工作就可以使它起步.设置管道以部署代码并保护资产.测量,调整,部署.

App service is so easy to scale and measure just do the work to get it off the ground. Set up pipelines to deploy your code and azure assets. Measure, tweak, deploy.

这篇关于一个应用程序有多少个应用程序服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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