Using Service Dependency Graph to Analyze and Test Microservices

Shang Pin Ma, Chen Yuan Fan, Yen Chuang, Wen Tin Lee, Shin-Jie Lee, Nien Lin Hsueh

Research output: Chapter in Book/Report/Conference proceedingConference contribution

4 Citations (Scopus)

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.

Original languageEnglish
Title of host publicationProceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018
EditorsClaudio Demartini, Sorel Reisman, Ling Liu, Edmundo Tovar, Hiroki Takakura, Ji-Jiang Yang, Chung-Horng Lung, Sheikh Iqbal Ahamed, Kamrul Hasan, Thomas Conte, Motonori Nakamura, Zhiyong Zhang, Toyokazu Akiyama, William Claycomb, Stelvio Cimato
PublisherIEEE Computer Society
Pages81-86
Number of pages6
ISBN (Electronic)9781538626665
DOIs
Publication statusPublished - 2018 Jun 8
Event42nd IEEE Computer Software and Applications Conference, COMPSAC 2018 - Tokyo, Japan
Duration: 2018 Jul 232018 Jul 27

Publication series

NameProceedings - International Computer Software and Applications Conference
Volume2
ISSN (Print)0730-3157

Other

Other42nd IEEE Computer Software and Applications Conference, COMPSAC 2018
CountryJapan
CityTokyo
Period18-07-2318-07-27

Fingerprint

Testing
Fault tolerance
Scalability
Experiments

All Science Journal Classification (ASJC) codes

  • Software
  • Computer Science Applications

Cite this

Ma, S. P., Fan, C. Y., Chuang, Y., Lee, W. T., Lee, S-J., & Hsueh, N. L. (2018). Using Service Dependency Graph to Analyze and Test Microservices. In C. Demartini, S. Reisman, L. Liu, E. Tovar, H. Takakura, J-J. Yang, C-H. Lung, S. I. Ahamed, K. Hasan, T. Conte, M. Nakamura, Z. Zhang, T. Akiyama, W. Claycomb, ... S. Cimato (Eds.), Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018 (pp. 81-86). [8377834] (Proceedings - International Computer Software and Applications Conference; Vol. 2). IEEE Computer Society. https://doi.org/10.1109/COMPSAC.2018.10207
Ma, Shang Pin ; Fan, Chen Yuan ; Chuang, Yen ; Lee, Wen Tin ; Lee, Shin-Jie ; Hsueh, Nien Lin. / Using Service Dependency Graph to Analyze and Test Microservices. Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018. editor / Claudio Demartini ; Sorel Reisman ; Ling Liu ; Edmundo Tovar ; Hiroki Takakura ; Ji-Jiang Yang ; Chung-Horng Lung ; Sheikh Iqbal Ahamed ; Kamrul Hasan ; Thomas Conte ; Motonori Nakamura ; Zhiyong Zhang ; Toyokazu Akiyama ; William Claycomb ; Stelvio Cimato. IEEE Computer Society, 2018. pp. 81-86 (Proceedings - International Computer Software and Applications Conference).
@inproceedings{5a5b6d0d564746558d45a3bacd934611,
title = "Using Service Dependency Graph to Analyze and Test Microservices",
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.",
author = "Ma, {Shang Pin} and Fan, {Chen Yuan} and Yen Chuang and Lee, {Wen Tin} and Shin-Jie Lee and Hsueh, {Nien Lin}",
year = "2018",
month = "6",
day = "8",
doi = "10.1109/COMPSAC.2018.10207",
language = "English",
series = "Proceedings - International Computer Software and Applications Conference",
publisher = "IEEE Computer Society",
pages = "81--86",
editor = "Claudio Demartini and Sorel Reisman and Ling Liu and Edmundo Tovar and Hiroki Takakura and Ji-Jiang Yang and Chung-Horng Lung and Ahamed, {Sheikh Iqbal} and Kamrul Hasan and Thomas Conte and Motonori Nakamura and Zhiyong Zhang and Toyokazu Akiyama and William Claycomb and Stelvio Cimato",
booktitle = "Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018",
address = "United States",

}

Ma, SP, Fan, CY, Chuang, Y, Lee, WT, Lee, S-J & Hsueh, NL 2018, Using Service Dependency Graph to Analyze and Test Microservices. in C Demartini, S Reisman, L Liu, E Tovar, H Takakura, J-J Yang, C-H Lung, SI Ahamed, K Hasan, T Conte, M Nakamura, Z Zhang, T Akiyama, W Claycomb & S Cimato (eds), Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018., 8377834, Proceedings - International Computer Software and Applications Conference, vol. 2, IEEE Computer Society, pp. 81-86, 42nd IEEE Computer Software and Applications Conference, COMPSAC 2018, Tokyo, Japan, 18-07-23. https://doi.org/10.1109/COMPSAC.2018.10207

Using Service Dependency Graph to Analyze and Test Microservices. / Ma, Shang Pin; Fan, Chen Yuan; Chuang, Yen; Lee, Wen Tin; Lee, Shin-Jie; Hsueh, Nien Lin.

Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018. ed. / Claudio Demartini; Sorel Reisman; Ling Liu; Edmundo Tovar; Hiroki Takakura; Ji-Jiang Yang; Chung-Horng Lung; Sheikh Iqbal Ahamed; Kamrul Hasan; Thomas Conte; Motonori Nakamura; Zhiyong Zhang; Toyokazu Akiyama; William Claycomb; Stelvio Cimato. IEEE Computer Society, 2018. p. 81-86 8377834 (Proceedings - International Computer Software and Applications Conference; Vol. 2).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

TY - GEN

T1 - Using Service Dependency Graph to Analyze and Test Microservices

AU - Ma, Shang Pin

AU - Fan, Chen Yuan

AU - Chuang, Yen

AU - Lee, Wen Tin

AU - Lee, Shin-Jie

AU - Hsueh, Nien Lin

PY - 2018/6/8

Y1 - 2018/6/8

N2 - 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.

AB - 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.

UR - http://www.scopus.com/inward/record.url?scp=85055577947&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85055577947&partnerID=8YFLogxK

U2 - 10.1109/COMPSAC.2018.10207

DO - 10.1109/COMPSAC.2018.10207

M3 - Conference contribution

AN - SCOPUS:85055577947

T3 - Proceedings - International Computer Software and Applications Conference

SP - 81

EP - 86

BT - Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018

A2 - Demartini, Claudio

A2 - Reisman, Sorel

A2 - Liu, Ling

A2 - Tovar, Edmundo

A2 - Takakura, Hiroki

A2 - Yang, Ji-Jiang

A2 - Lung, Chung-Horng

A2 - Ahamed, Sheikh Iqbal

A2 - Hasan, Kamrul

A2 - Conte, Thomas

A2 - Nakamura, Motonori

A2 - Zhang, Zhiyong

A2 - Akiyama, Toyokazu

A2 - Claycomb, William

A2 - Cimato, Stelvio

PB - IEEE Computer Society

ER -

Ma SP, Fan CY, Chuang Y, Lee WT, Lee S-J, Hsueh NL. Using Service Dependency Graph to Analyze and Test Microservices. In Demartini C, Reisman S, Liu L, Tovar E, Takakura H, Yang J-J, Lung C-H, Ahamed SI, Hasan K, Conte T, Nakamura M, Zhang Z, Akiyama T, Claycomb W, Cimato S, editors, Proceedings - 2018 IEEE 42nd Annual Computer Software and Applications Conference, COMPSAC 2018. IEEE Computer Society. 2018. p. 81-86. 8377834. (Proceedings - International Computer Software and Applications Conference). https://doi.org/10.1109/COMPSAC.2018.10207