How many App Services for one application?

这一生的挚爱 提交于 2020-11-30 01:32:24

问题


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?

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).


回答1:


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.



来源:https://stackoverflow.com/questions/64848716/how-many-app-services-for-one-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!