Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
125 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

A Microservices Identification Method Based on Spectral Clustering for Industrial Legacy Systems (2312.12819v1)

Published 20 Dec 2023 in cs.SE

Abstract: The advent of Industrial Internet of Things (IIoT) has imposed more stringent requirements on industrial software in terms of communication delay, scalability, and maintainability. Microservice architecture (MSA), a novel software architecture that has emerged from cloud computing and DevOps, presents itself as the most promising solution due to its independently deployable and loosely coupled nature. Currently, practitioners are inclined to migrate industrial legacy systems to MSA, despite numerous challenges it presents. In this paper, we propose an automated microservice decomposition method for extracting microservice candidates based on spectral graph theory to address the problems associated with manual extraction, which is time-consuming, labor intensive, and highly subjective. The method is divided into three steps. Firstly, static and dynamic analysis tools are employed to extract dependency information of the legacy system. Subsequently, information is transformed into a graph structure that captures inter-class structure and performance relationships in legacy systems. Finally, graph-based clustering algorithm is utilized to identify potential microservice candidates that conform to the principles of high cohesion and low coupling. Comparative experiments with state of-the-art methods demonstrate the significant advantages of our proposed method in terms of performance metrics. Moreover, Practice show that our method can yield favorable results even without the involvement of domain experts.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (12)
  1. S. Adjoyan, A.-D. Seriai, and A. Shatnawi, “Service identification based on quality metrics object-oriented legacy system migration towards soa,” in SEKE: Software Engineering and Knowledge Engineering.   Knowledge Systems Institute Graduate School, 2014, pp. 1–6.
  2. M. Gysel, L. Kölbener, W. Giersche, and O. Zimmermann, “Service cutter: A systematic approach to service decomposition,” in Service-Oriented and Cloud Computing: 5th IFIP WG 2.14 European Conference, ESOCC 2016, Vienna, Austria, September 5-7, 2016, Proceedings 5.   Springer, 2016, pp. 185–200.
  3. Y. Zhang, B. Liu, L. Dai, K. Chen, and X. Cao, “Automated microservice identification in legacy systems with functional and non-functional metrics,” in 2020 IEEE international conference on software architecture (ICSA).   IEEE, 2020, pp. 135–145.
  4. S. Agarwal, R. Sinha, G. Sridhara, P. Das, U. Desai, S. Tamilselvam, A. Singhee, and H. Nakamuro, “Monolith to microservice candidates using business functionality inference,” in 2021 IEEE International Conference on Web Services (ICWS).   IEEE, 2021, pp. 758–763.
  5. U. Desai, S. Bandyopadhyay, and S. Tamilselvam, “Graph neural network to dilute outliers for refactoring monolith application,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 35, no. 1, 2021, pp. 72–80.
  6. Z. Li, C. Shang, J. Wu, and Y. Li, “Microservice extraction based on knowledge graph from monolithic applications,” Information and Software Technology, vol. 150, p. 106992, 2022.
  7. P. Zaragoza, A.-D. Seriai, A. Seriai, A. Shatnawi, and M. Derras, “Leveraging the layered architecture for microservice recovery,” in 2022 IEEE 19th International Conference on Software Architecture (ICSA).   IEEE, 2022, pp. 135–145.
  8. W. Jin, T. Liu, Y. Cai, R. Kazman, R. Mo, and Q. Zheng, “Service candidate identification from monolithic systems based on execution traces,” IEEE Transactions on Software Engineering, vol. 47, no. 5, pp. 987–1007, 2019.
  9. Y. Ruan, D. Fuhry, and S. Parthasarathy, “Efficient community detection in large networks using content and links,” in Proceedings of the 22nd international conference on World Wide Web, 2013, pp. 1089–1098.
  10. U. Von Luxburg, “A tutorial on spectral clustering,” Statistics and computing, vol. 17, pp. 395–416, 2007.
  11. S. Mancoridis, B. S. Mitchell, C. Rorres, Y. Chen, and E. R. Gansner, “Using automatic clustering to produce high-level system organizations of source code,” in Proceedings. 6th International Workshop on Program Comprehension. IWPC’98 (Cat. No. 98TB100242).   IEEE, 1998, pp. 45–52.
  12. G. Mazlami, J. Cito, and P. Leitner, “Extraction of microservices from monolithic software architectures,” in 2017 IEEE International Conference on Web Services (ICWS).   IEEE, 2017, pp. 524–531.

Summary

We haven't generated a summary for this paper yet.

X Twitter Logo Streamline Icon: https://streamlinehq.com