Next Article in Journal
Long-Term Deformations and Mechanical Properties of Fine Recycled Aggregate Earth Concrete
Previous Article in Journal
A Pragmatic Approach to Modeling Combinations of Plant Operational States in Multi-Unit Nuclear Power Plant Probabilistic Safety Assessment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Assessing Database Contribution via Distributed Tracing for Microservice Systems

1
Beijing Institute of Computer Technology and Application, Beijing 100854, China
2
School of Computer Science and Technology, Xidian University, Xi’an 710071, China
3
College of Systems Engineering, National University of Defense Technology, Changsha 410073, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(22), 11488; https://doi.org/10.3390/app122211488
Submission received: 20 September 2022 / Revised: 26 October 2022 / Accepted: 8 November 2022 / Published: 12 November 2022

Abstract

Microservice architecture is the latest trend in software systems development and transformation. In microservice systems, databases are deployed in corresponding services. To better optimize runtime deployment and improve system stability, system administrators need to know the contributions of databases in the system. For the high dynamism and complexity of microservice systems, distributed tracing can be introduced to observe the behavior of business scenarios on databases. However, it is challenging to evaluate the database contribution by combining the importance weight of business scenarios with their behaviors on databases. To solve this problem, we propose a business-scenario-oriented database contribution assessment approach (DBCAMS) via distributed tracing, which consists of three steps: (1) determining the importance weight of business scenarios in microservice system by analytic hierarchy process (AHP); (2) reproducing business scenarios and aggregating the same operations on the same database via distributed tracing; (3) calculating database contribution by formalizing the task as a nonlinear programming problem based on the defined operators and solving it. To the best of our knowledge, our work is the first research to study this issue. The results of a series of experiments on two open-source benchmark microservice systems show the effectiveness and rationality of our proposed method.
Keywords: microservice system; database contribution assessment; distributed tracing; scenario-oriented approach; nonlinear programming microservice system; database contribution assessment; distributed tracing; scenario-oriented approach; nonlinear programming

Share and Cite

MDPI and ACS Style

Liu, Y.; Yu, Z.; Yuan, X.; Ke, W.; Fang, Z.; Du, T.; Han, C. Assessing Database Contribution via Distributed Tracing for Microservice Systems. Appl. Sci. 2022, 12, 11488. https://doi.org/10.3390/app122211488

AMA Style

Liu Y, Yu Z, Yuan X, Ke W, Fang Z, Du T, Han C. Assessing Database Contribution via Distributed Tracing for Microservice Systems. Applied Sciences. 2022; 12(22):11488. https://doi.org/10.3390/app122211488

Chicago/Turabian Style

Liu, Yulin, Zengwen Yu, Xiaoguang Yuan, Wenjun Ke, Zhi Fang, Tianfeng Du, and Cuihong Han. 2022. "Assessing Database Contribution via Distributed Tracing for Microservice Systems" Applied Sciences 12, no. 22: 11488. https://doi.org/10.3390/app122211488

APA Style

Liu, Y., Yu, Z., Yuan, X., Ke, W., Fang, Z., Du, T., & Han, C. (2022). Assessing Database Contribution via Distributed Tracing for Microservice Systems. Applied Sciences, 12(22), 11488. https://doi.org/10.3390/app122211488

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop