Service Call Chain Analysis for Microservice Systems

Zhiqiang Hao,
Xufan Zhang,
Jia Liu,
Qing Wu,

Abstract


Industrial practitioners widely adopt the microservice architecture to build applications. An application with microservice architecture can be composed of a set of individual services. Although microservice can improve the scalability of a system by isolating services, the complexity and difficulty of defect detection and analysis grow. High verification cost, a long feedback cycle, and high communication cost pose challenges to the maintenance of microservice systems. To address the problem, we propose a call chain tracing and analysis approach designed for the microservice architecture. To evaluate its effectiveness, we implement our approach as a plugin, namely Cam, to monitor and analyze exceptions by tracing call chains. Currently, Cam is packaged as a maven plugin for applications using Spring Cloud, which is an opensource microservice framework for Java programs. We experiment it with a microservice system to demonstrate its availability. The result shows that Cam can help software engineers understand the workflow of a service call and locate potential defects.

Keywords


Call chain tracing, Microservice, Exception analysis

Citation Format:
Zhiqiang Hao, Xufan Zhang, Jia Liu, Qing Wu, "Service Call Chain Analysis for Microservice Systems," Journal of Internet Technology, vol. 23, no. 6 , pp. 1203-1211, Nov. 2022.

Full Text:

PDF

Refbacks

  • There are currently no refbacks.





Published by Executive Committee, Taiwan Academic Network, Ministry of Education, Taipei, Taiwan, R.O.C
JIT Editorial Office, Office of Library and Information Services, National Dong Hwa University
No. 1, Sec. 2, Da Hsueh Rd., Shoufeng, Hualien 974301, Taiwan, R.O.C.
Tel: +886-3-931-7314  E-mail: jit.editorial@gmail.com