Conference proceeding
Functionality-oriented Microservice Extraction Based on Execution Trace Clustering
2018 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES (IEEE ICWS 2018)
01 Jan 2018
Featured in Collection : UN Sustainable Development Goals @ Drexel
Abstract
The main task of microservice extraction is to find which software entities (e.g., methods, classes) should be grouped together from existing monolithic software as candidate microservices, responsible for specific functionalities and evolving independently. Current methods extract microservices by analyzing source code and following the assumption that "classes with strong relation should be in the same service", which originates from software structure analysis. We find that 1) many program behaviors cannot be explicitly reflected in source code, and 2) the relation at code-level is not equivalent to the same functionality. Thus, we propose a functionality oriented microservice extraction (FoME) method in this study by monitoring program dynamic behavior and clustering execution traces. Instead of source code analysis, the execution traces of a program are applied to group source code entities that are dedicated to the same functionality. We also construct a systematic measurement of microservice by integrating five complementary metrics of service cohesion and coupling. These metrics measure Functional Independence of microservices. That is, it qualifies whether a microservices can have its own responsibilities independently. In the experiment, our method is compared with three state-of-the-art methods on four open source projects. The microservice candidates generated using our method present similar functional cohesion to the services produced using the other methods, but have considerably looser coupling measurements (dramatically reducing measurements of IRN and OPN).
Metrics
Details
- Title
- Functionality-oriented Microservice Extraction Based on Execution Trace Clustering
- Creators
- Wuxia Jin - Xi'an Jiaotong UniversityTing Liu - Xi'an Jiaotong UniversityQinghua Zheng - Xi'an Jiaotong UniversityDi Cui - Xi'an Jiaotong UniversityYuanfang Cai - Drexel UniversityIEEE
- Publication Details
- 2018 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES (IEEE ICWS 2018)
- Conference
- 2018 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES (IEEE ICWS 2018)
- Publisher
- IEEE
- Number of pages
- 8
- Grant note
- Project of China Knowledge Centre for Engineering Science and Technology 2016YFB1000903 / National Key RD Program of China 61772408; U1766215; U1736205; 61721002; 61472318; 61532015; 61632015 / National Natural Science Foundation of China; National Natural Science Foundation of China (NSFC) IRT_17R86 / Ministry of Education Innovation Research Team 151067 / Fok Ying-Tong Education Foundation; Fok Ying Tung Education Foundation
- Resource Type
- Conference proceeding
- Language
- English
- Academic Unit
- Computer Science
- Web of Science ID
- WOS:000483573800027
- Scopus ID
- 2-s2.0-85054018170
- Other Identifier
- 991019167550704721
UN Sustainable Development Goals (SDGs)
This publication has contributed to the advancement of the following goals:
InCites Highlights
Data related to this publication, from InCites Benchmarking & Analytics tool:
- Collaboration types
- Domestic collaboration
- International collaboration
- Web of Science research areas
- Computer Science, Interdisciplinary Applications
- Engineering, Electrical & Electronic