Semantic Dependency in Microservice Architecture: A Framework for Definition and Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Abdelfattah, Amr S., Cordes, Kari E, Medina, Austin, Cerny, Tomas
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929683152502784
author Abdelfattah, Amr S.
Cordes, Kari E
Medina, Austin
Cerny, Tomas
author_facet Abdelfattah, Amr S.
Cordes, Kari E
Medina, Austin
Cerny, Tomas
contents Microservices have been a key architectural approach for over a decade, transforming system design by promoting decentralization and allowing development teams to work independently on specific microservices. While loosely coupled microservices are ideal, dependencies between them are inevitable. Often, these dependencies go unnoticed by development teams. Although syntactic dependencies can be identified, tracking semantic dependencies - when multiple microservices share similar logic - poses a greater challenge. As systems evolve, changes made to one microservice can trigger ripple effects, jeopardizing system consistency and requiring updates to dependent services, which increases maintenance and operational complexity. Effectively tracking different types of dependencies across microservices is essential for anticipating the impact of such changes. This paper introduces the Semantic Dependency Matrix as an instrument to address these challenges from a semantic perspective. We propose an automated approach to extract and represent these dependencies and demonstrate its effectiveness through a case study. This paper takes a step further by demonstrating the significance of semantic dependencies, even in cases where there are no direct dependencies between microservices. It shows that these hidden dependencies can exist independently of endpoint or data dependencies, revealing critical connections that might otherwise be overlooked.
format Preprint
id arxiv_https___arxiv_org_abs_2501_11787
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Semantic Dependency in Microservice Architecture: A Framework for Definition and Detection
Abdelfattah, Amr S.
Cordes, Kari E
Medina, Austin
Cerny, Tomas
Software Engineering
Microservices have been a key architectural approach for over a decade, transforming system design by promoting decentralization and allowing development teams to work independently on specific microservices. While loosely coupled microservices are ideal, dependencies between them are inevitable. Often, these dependencies go unnoticed by development teams. Although syntactic dependencies can be identified, tracking semantic dependencies - when multiple microservices share similar logic - poses a greater challenge. As systems evolve, changes made to one microservice can trigger ripple effects, jeopardizing system consistency and requiring updates to dependent services, which increases maintenance and operational complexity. Effectively tracking different types of dependencies across microservices is essential for anticipating the impact of such changes. This paper introduces the Semantic Dependency Matrix as an instrument to address these challenges from a semantic perspective. We propose an automated approach to extract and represent these dependencies and demonstrate its effectiveness through a case study. This paper takes a step further by demonstrating the significance of semantic dependencies, even in cases where there are no direct dependencies between microservices. It shows that these hidden dependencies can exist independently of endpoint or data dependencies, revealing critical connections that might otherwise be overlooked.
title Semantic Dependency in Microservice Architecture: A Framework for Definition and Detection
topic Software Engineering
url https://arxiv.org/abs/2501.11787