使用App Service的微服务 [英] Microservices using App Service

查看:233
本文介绍了使用App Service的微服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在研究一个新项目,并且计划使用微服务架构.我们将有大约10 -15个微服务,并且我们计划使用Azure APP服务来部署每个单独的服务.将APP Services用于微服务是否还可以 建筑学?我正在浏览https://docs.microsoft.com/zh-cn/azure/architecture/guide/technology-choices/compute-decision-tree,发现Azure容器服务或Azure Kubernates服务更适合微服务.我想 从可伸缩性,管理和容错方面了解使用App Services的问题.

We are working on a new project and we are planning to use microservice architecture. We will have around 10 -15 microservices and we are planning to use Azure APP service to deploy each individual service. Is it fine to use APP Services for microservice architecture? I was going through this https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree and found that Azure Container Service or Azure Kubernates service is better suited for microservices. I would like to know what is the problem of using App Services from scalability, management and fault tolerance aspects.


推荐答案

与App Service相比,Service Fabric(PAAS解决方案)还提供了对基础基础结构的更多控制或直接访问.您可以远程访问服务器或配置服务器启动任务.

Azure App Service being a PAAS offering does provide better scalability, management and fault tolerance. It is the best choice for most Webapps. Deployment and management are integrated into the platform, sites can scale quickly to handle high traffic loads, and the built-in load balancing and traffic manager provide high availability. Compared to App Service, Service Fabric (PAAS solution) also provides more control over, or direct access to, the underlying infrastructure. You can remote into your servers or configure server startup tasks.

通常,底层基础结构是由PAAS产品中的Azure管理的,因此您必须进行管理仅您的应用程序代码.如果是IAAS解决方案,您还可以 需要正确配置,保护和维护基础虚拟机.

Typically, the underlying infrastructure is managed by Azure in PAAS offering and you would have to manage only your application code. In case of an IAAS solution you would also need to correctly configure, secure, and maintaining the underlying VMs.

Service Fabric 如果您要创建新应用或重写现有应用以使用微服务架构,则是一个不错的选择.

Service Fabric is a good choice if you’re creating a new app or re-writing an existing app to use a microservice architecture.

适用于特定服务的合适的建筑风格;应用服务 Web-Queue-Worker N-Tier 微服务,  事件驱动的体系结构.

Suitable architecture style for specific services; App Service for Web-Queue-WorkerN-Tier and Service Fabric, Azure Functions, AKS for MicroservicesEvent-driven architecture.

此外, Linux上的应用程序服务在为了提高开发人员的生产力.如果不支持您的应用程序所需的运行时 在内置图像中,有关于如何 build 您自己的Docker映像

Additionally, App Service on Linux supports a number of built-in images in order to increase developer productivity. If the runtime your application requires is not supported in the built-in images, there are instructions on how to build your own Docker image to deploy to Web App for Containers.

您可能还想知道如何 在Azure(预览)中运行自定义Windows容器.

You may also wish to know about how to Run a custom Windows container in Azure (Preview).

有关如何在这些Azure服务之间进行选择的更多信息,请参见 Azure 应用服务,虚拟机,服务结构和云服务比较 .

For more information about how to choose between these Azure services, see Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison.


这篇关于使用App Service的微服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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