微服务环境下传统技术与无服务器技术的比较
A comparison between traditional and Serverless technologies in a microservices setting
AI总结:
本研究通过在 Amazon Web Services 上实现 9 个微服务原型,对比分析了传统 Kubernetes 部署与 AWS ECS Fargate、AWS Lambda 等无服务器技术在性能和成本上的影响。
摘要:
无服务器技术,也称为 FaaS(Function as a Service),被推崇为一种解决方案,可提供动态可扩展性、开发速度、按消费计费模型,以及专注于代码的能力,同时将注意力从由供应商管理的基础设施上移开。微服务架构由多个独立服务对应用程序状态的交互和管理来定义,每个服务都有明确的领域。在实现基于微服务的软件架构时,需要就技术和采用无服务器的可能性做出多项决策。在本研究中,我们使用不同技术实现了同一微服务应用的 9 个原型。分析了一些架构决策及其对所得结果的性能和成本的影响。我们使用 Amazon Web Services,从一个使用更传统部署环境(Kubernetes)的应用程序开始,通过组合和分析使用不同技术(如 AWS ECS Fargate、AWS Lambda、DynamoDB 或 DocumentDB)的影响(包括成本和性能),执行了向无服务器架构的迁移。
英文摘要:
Serverless technologies, also known as FaaS (Function as a Service), are promoted as solutions that provide dynamic scalability, speed of development, cost-per-consumption model, and the ability to focus on the code while taking attention away from the infrastructure that is managed by the vendor. A microservices architecture is defined by the interaction and management of the application state by several independent services, each with a well-defined domain. When implementing software architectures based on microservices, there are several decisions to take about the technologies and the possibility of adopting Serverless. In this study, we implement 9 prototypes of the same microservice application using different technologies. Some architectural decisions and their impact on the performance and cost of the result obtained are analysed. We use Amazon Web Services and start with an application that uses a more traditional deployment environment (Kubernetes) and migration to a serverless architecture is performed by combining and analysing the impact (both cost and performance) of the use of different technologies such as AWS ECS Fargate, AWS Lambda, DynamoDB or DocumentDB.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。