Lei Liu, Zhiying Tu, Xiang He, Xiaofei Xu, Zhongjie Wang
{"title":"微服务系统运行时性能缺陷与“不良气味”潜在相关性的实证研究","authors":"Lei Liu, Zhiying Tu, Xiang He, Xiaofei Xu, Zhongjie Wang","doi":"10.1109/ICWS53863.2021.00103","DOIUrl":null,"url":null,"abstract":"Although many principles have been put forward to guide microservice design, such as Domain-Driven Design, Architectural Bad Smells (ABS) would be inevitably imported during microservice system design and development. There has been a consensus that the existence of ABSs would bring negative effects to microservice systems. Although some approaches use static analysis to detect ABSs in the design phase, we conjecture that the design-phase ABSs would result in some performance deficiencies at runtime. This paper conducts an empirical study on underlying correlations between runtime performance deficiencies and ABSs in microservice system design. An automated experimental stress testing framework called MRSTF is developed for automatic deployment of MSS and collecting/analyzing runtime performance data. A microservice system TrainTicket is used in this empirical study. We manually inject several typical ABSs into the system and use MRSTF to compare the runtime performances before and after the injection and check if the existence of ABSs has significant effects on the runtime performance. Experiment results show that ABSs have significant negative effects on some performance metrics of runtime MSS while doing not on others. This study provides solid evidence on the feasibility of optimizing MSS design by eliminating ABSs based on runtime performance data.","PeriodicalId":213320,"journal":{"name":"2021 IEEE International Conference on Web Services (ICWS)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"An Empirical Study on Underlying Correlations between Runtime Performance Deficiencies and “Bad Smells” of Microservice Systems\",\"authors\":\"Lei Liu, Zhiying Tu, Xiang He, Xiaofei Xu, Zhongjie Wang\",\"doi\":\"10.1109/ICWS53863.2021.00103\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Although many principles have been put forward to guide microservice design, such as Domain-Driven Design, Architectural Bad Smells (ABS) would be inevitably imported during microservice system design and development. There has been a consensus that the existence of ABSs would bring negative effects to microservice systems. Although some approaches use static analysis to detect ABSs in the design phase, we conjecture that the design-phase ABSs would result in some performance deficiencies at runtime. This paper conducts an empirical study on underlying correlations between runtime performance deficiencies and ABSs in microservice system design. An automated experimental stress testing framework called MRSTF is developed for automatic deployment of MSS and collecting/analyzing runtime performance data. A microservice system TrainTicket is used in this empirical study. We manually inject several typical ABSs into the system and use MRSTF to compare the runtime performances before and after the injection and check if the existence of ABSs has significant effects on the runtime performance. Experiment results show that ABSs have significant negative effects on some performance metrics of runtime MSS while doing not on others. This study provides solid evidence on the feasibility of optimizing MSS design by eliminating ABSs based on runtime performance data.\",\"PeriodicalId\":213320,\"journal\":{\"name\":\"2021 IEEE International Conference on Web Services (ICWS)\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE International Conference on Web Services (ICWS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICWS53863.2021.00103\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Web Services (ICWS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICWS53863.2021.00103","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
摘要
虽然已经提出了许多指导微服务设计的原则,如领域驱动设计,但在微服务系统的设计和开发过程中不可避免地会引入架构不良气味(Architectural Bad smell, ABS)。有一种共识是,abs的存在会给微服务系统带来负面影响。尽管有些方法在设计阶段使用静态分析来检测ABSs,但我们推测设计阶段的ABSs会在运行时导致一些性能缺陷。本文对微服务系统设计中运行时性能缺陷与abs之间的潜在相关性进行了实证研究。开发了一个名为MRSTF的自动化实验压力测试框架,用于自动部署MSS并收集/分析运行时性能数据。本文采用微服务系统TrainTicket进行实证研究。我们将几个典型的ABSs手工注入系统,并使用MRSTF比较ABSs注入前后的运行时性能,检查ABSs的存在是否对运行时性能有显著影响。实验结果表明,ABSs对运行时MSS的某些性能指标有显著的负面影响,而对其他性能指标没有影响。本研究为基于运行时性能数据消除abs优化MSS设计的可行性提供了坚实的证据。
An Empirical Study on Underlying Correlations between Runtime Performance Deficiencies and “Bad Smells” of Microservice Systems
Although many principles have been put forward to guide microservice design, such as Domain-Driven Design, Architectural Bad Smells (ABS) would be inevitably imported during microservice system design and development. There has been a consensus that the existence of ABSs would bring negative effects to microservice systems. Although some approaches use static analysis to detect ABSs in the design phase, we conjecture that the design-phase ABSs would result in some performance deficiencies at runtime. This paper conducts an empirical study on underlying correlations between runtime performance deficiencies and ABSs in microservice system design. An automated experimental stress testing framework called MRSTF is developed for automatic deployment of MSS and collecting/analyzing runtime performance data. A microservice system TrainTicket is used in this empirical study. We manually inject several typical ABSs into the system and use MRSTF to compare the runtime performances before and after the injection and check if the existence of ABSs has significant effects on the runtime performance. Experiment results show that ABSs have significant negative effects on some performance metrics of runtime MSS while doing not on others. This study provides solid evidence on the feasibility of optimizing MSS design by eliminating ABSs based on runtime performance data.