Mohak Chadha, Victor Pacyna, Anshul Jindal, Jiatao Gu, M. Gerndt
{"title":"从微服务迁移到无服务器:一个物联网平台案例研究","authors":"Mohak Chadha, Victor Pacyna, Anshul Jindal, Jiatao Gu, M. Gerndt","doi":"10.1145/3565382.3565881","DOIUrl":null,"url":null,"abstract":"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 server-less 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.","PeriodicalId":132528,"journal":{"name":"Proceedings of the Eighth International Workshop on Serverless Computing","volume":"35 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Migrating from microservices to serverless: an IoT platform case study\",\"authors\":\"Mohak Chadha, Victor Pacyna, Anshul Jindal, Jiatao Gu, M. Gerndt\",\"doi\":\"10.1145/3565382.3565881\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"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 server-less 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.\",\"PeriodicalId\":132528,\"journal\":{\"name\":\"Proceedings of the Eighth International Workshop on Serverless Computing\",\"volume\":\"35 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the Eighth International Workshop on Serverless Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3565382.3565881\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Eighth International Workshop on Serverless Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3565382.3565881","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
微服务架构是目前开发云应用程序的常用选择,因为每个单独的微服务都可以独立修改、替换和扩展。因此,应用程序开发和操作云基础设施被捆绑在一起,形成了现在通常所说的DevOps。然而,随着无服务器计算范式的日益普及,以及它的一些优点(如无需基础设施管理、按使用付费计费策略和按需细粒度自动伸缩),人们对利用FaaS和无服务器CaaS技术重构基于微服务的应用程序的兴趣越来越大。为此,我们将复杂的物联网平台应用程序迁移到OpenWhisk (OW)和Google Cloud Run (GCR)上。我们全面评估了不同部署策略的性能,即Google Kubernetes引擎(GKE)-Standard, OW和GCR用于物联网平台,使用不同的负载测试场景。我们的实验结果表明,虽然GKE标准在大多数情况下表现最好,但GCR的成本总是更低。
Migrating from microservices to serverless: an IoT platform case study
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 server-less 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.