论文标题
从微服务迁移到无服务器:一个IoT平台案例研究
Migrating from Microservices to Serverless: An IoT Platform Case Study
论文作者
论文摘要
这些天来,微服务体系结构是开发云应用程序的常见选择,因为每个单独的微服务都可以独立修改,更换和缩放。结果,应用程序开发和操作云基础架构被捆绑在一起,现在通常称为DevOps。但是,随着无服务器计算范式的日益普及及其几个优点,例如没有基础架构管理,每次使用付费计费政策以及按需使用FAAS和无服务器CAAS技术来重新制作基于Microservices的应用程序的兴趣越来越大,因此越来越有兴趣。为此,我们将复杂的IoT平台应用程序迁移到OpenWhisk(OW)和Google Cloud Run(GCR)上。我们全面评估不同部署策略的性能,即使用不同的负载测试方案,用于IoT平台的Google Kubernetes Engine(GKE) - 标准,OW和GCR。我们实验的结果表明,尽管GKE标准在大多数情况下都表现最佳,但GCR始终是较便宜的WRT成本。
Microservice architecture is the common choice for developing cloud applications these days since each individual microservice can be independently modified, replaced, and scaled. As a result, application development and operating cloud infrastructure were bundled together into what is now commonly called DevOps. However, with the increasing popularity of the serverless computing paradigm and its several advantages such as no infrastructure management, a pay-per-use billing policy, and on-demand fine-grained autoscaling, there is a growing interest in utilizing FaaS and serverless CaaS technologies for refactoring microservices-based applications. Towards this, we migrate a complex IoT platform application onto OpenWhisk (OW) and Google Cloud Run (GCR). We comprehensively evaluate the performance of the different deployment strategies, i.e., Google Kubernetes Engine (GKE)-Standard, OW, and GCR for the IoT platform using different load testing scenarios. Results from our experiments show that while GKE standard performs best for most scenarios, GCR is always cheaper wrt costs.