Identifying Domain-Based Cyclic Dependencies in Microservice APIs Using Source Code Detectors

被引:9
|
作者
Genfer, Patric [1 ]
Zdun, Uwe [1 ]
机构
[1] Univ Vienna, Fac Comp Sci, Res Grp Software Architecture, Vienna, Austria
来源
基金
奥地利科学基金会;
关键词
Microservice API; Domain-based cyclic dependencies; Metrics; Source code detectors;
D O I
10.1007/978-3-030-86044-8_15
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Isolation, autonomy, and loose coupling are critical success factors of microservice architectures. Unfortunately, systems tend to become strongly coupled over time, sometimes even exhibiting cyclic communication chains, making the individual deployment of services challenging. Such chains are highly problematic when strongly coupled communication e.g. based on synchronous invocations is used, but also create complexity and maintenance issues in more loosely coupled asynchronous or event-based communication. Here, cycles only manifest on a conceptual or domain level, making them hard to track for algorithms that rely solely on static analysis. Accordingly, previous attempts to detect cycles either focused on synchronous communication or had to collect additional runtime data, which can be costly and time-consuming. We suggest a novel approach for identifying and evaluating domain-based cyclic dependencies in microservice systems based on modular, reusable source code detectors. Based on the architecture model reconstructed by the detectors, we derived a set of architectural metrics for detecting and classifying domain-based cyclical dependencies. By conducting two case studies on open-source microservice architectures, we validated the feasibility and applicability of our approach.
引用
收藏
页码:207 / 222
页数:16
相关论文
共 50 条
  • [21] Climatic forecasting using multivariate frequency and time domain-based predictions
    Mann, ME
    Rajagopalan, B
    Moon, YI
    Lall, U
    13TH CONFERENCE ON PROBABILITY AND STATISTICS IN THE ATMOSPHERIC SCIENCES, 1996, : 353 - 354
  • [22] Steganography in coloured images using wavelet domain-based saliency map
    Mahajan, M. (cec.manish@gmail.com), 1600, Inderscience Enterprises Ltd., 29, route de Pre-Bois, Case Postale 856, CH-1215 Geneva 15, CH-1215, Switzerland (05):
  • [23] Evaluating ChatGPT’s Proficiency in Understanding and Answering Microservice Architecture Queries Using Source Code Insights
    Quevedo E.
    Abdelfattah A.S.
    Rodriguez A.
    Yero J.
    Cerny T.
    SN Computer Science, 5 (4)
  • [24] Practitioner Views on the Interrelation of Microservice APIs and Domain-Driven Design: A Grey Literature Study Based on Grounded Theory
    Singjai, Apitchaka
    Zdun, Uwe
    Zimmermann, Olaf
    2021 IEEE 18TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA), 2021, : 25 - 35
  • [25] A domain-based routing protocol for SSM source mobility in Mobile IPv6 networks
    Wang, Ping
    Cai, Yunze
    Huang, Jinjie
    Xu, Xiaoming
    WIRELESS PERSONAL COMMUNICATIONS, 2007, 41 (01) : 1 - 18
  • [26] A Domain-Based Routing Protocol for SSM Source Mobility in Mobile IPv6 Networks
    Ping Wang
    Yunze Cai
    Jinjie Huang
    Xiaoming Xu
    Wireless Personal Communications, 2007, 41 : 1 - 18
  • [27] Identifying Incorrect Patches in Program Repair Based on Meaning of Source Code
    Quang-Ngoc Phung
    Kim, Misoo
    Lee, Eunseok
    IEEE ACCESS, 2022, 10 : 12012 - 12030
  • [28] Identifying plagiarised programming assignments based on source code similarity scores
    Cheers, Hayden
    Lin, Yuqing
    COMPUTER SCIENCE EDUCATION, 2023, 33 (04) : 621 - 645
  • [29] Identifying bacterial and archaeal homologs of pentameric ligand-gated ion channel (pLGIC) family using domain-based and alignment-based approaches
    Rendon, Gloria
    Kantorovitz, Miriam R.
    Tilson, Jeffrey L.
    Jakobsson, Eric
    CHANNELS, 2011, 5 (04) : 325 - 344
  • [30] The Functional Role of a Conserved Loop in EAL Domain-Based Cyclic di-GMP-Specific Phosphodiesterase
    Rao, Feng
    Qi, Yaning
    Chong, Hui Shan
    Kotaka, Masayo
    Li, Bin
    Li, Jinming
    Lescar, Julien
    Tang, Kai
    Liang, Zhao-Xun
    JOURNAL OF BACTERIOLOGY, 2009, 191 (15) : 4722 - 4731