Using Service Dependency Graph to Analyze and Test Microservices
Authors:
- Shang-Pin MaSMShang-Pin Ma
- Chen-Yuan FanCFChen-Yuan Fan
- Yen ChuangYCYen Chuang
- Wen-Tin LeeWLWen-Tin Lee
- Shin-Jie LeeSLShin-Jie Lee
- Nien-Lin HsuehNHNien-Lin Hsueh
- 1 July 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 02 (07303157) , 81-86
Abstract
Microservice architecture (MSA) is an emerging software architectural style, which differs fundamentally from the monolithic, layered architecture. MSA is based on microservices to provide several advantages, such as autonomy, composability, scalability, and fault-tolerance. However, how to manage complex "call" relationships between microservices is still a big issue that needs to be addressed. In this paper, we propose an approach for assisting the development of MSA-based systems, referred to as GMAT (Graph-based Microservice Analysis and Testing). GMAT can automatically generate "Service Dependency Graph (SDG)" to analyze and visualize the dependency relationships between microservices. Using GMAT, people are able to detect anomalies by analyzing risky service invocation chains in early stage of development, and trace the linkages between services when developing a new version of a target system. Experiments show that GMAT is able to work well for both small-scale and large-scale MSA-based systems.Keywords
This publication has 5 references indexed in Scilit:
- Migrating Monolithic Mobile Application to Microservice Architecture: An Experiment Report2017
- Container and Microservice Driven Design for Cloud Infrastructure DevOps2016
- End to End Automation on Cloud with Build Pipeline: The Case for DevOps in Insurance Industry, Continuous Integration, Continuous Testing, and Continuous Delivery2015
- What Is a Microservice?2015
- Depth-First Search and Linear Graph AlgorithmsSIAM Journal on Computing, 1972