Loading…
YOLOS-MCI: Automating Microservices Coupling Index Calculation using Vision Transformers
Microservice Architectures (MSA) provide flexibility and scalability in software development. However, accurately measuring the level of interdependence among Microservices continues to be a difficult task. Precisely evaluating this connection is essential for efficient MSA design, maintenance, and...
Saved in:
Published in: | Procedia computer science 2024, Vol.245, p.924-933 |
---|---|
Main Authors: | , , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | Microservice Architectures (MSA) provide flexibility and scalability in software development. However, accurately measuring the level of interdependence among Microservices continues to be a difficult task. Precisely evaluating this connection is essential for efficient MSA design, maintenance, and future development. Conventional techniques for assessing Microservice coupling are frequently done by hand, require a significant amount of time, and are susceptible to mistakes. This impedes the capacity to make well-informed judgments regarding the integration and adjustment of services. This study introduces a new method for automating the computation of the Microservice Coupling Index (MCI) by utilizing the You Only Look at One Sequence (YOLOS) object identification technique in combination with Vision Transformer (ViTs) technology. YOLOS is utilized for identifying constituents within Unified Modeling Language (UML) Component Diagrams, facilitating precise classification and effective assessment of coupling. The model exhibits varying performance over multiple Intersection over Union (IoU) thresholds and object sizes, with an average precision (AP) of 0.406 over IoU values ranging from 0.50 to 0.95. The maximum precision is achieved at an IoU of 0.50, with an AP of 0.709. The model demonstrates good performance in identifying smaller components, especially when evaluated at a 0.75 IoU threshold. However, it faces challenges in detecting small items, suggesting potential areas for improvement in future iterations. Initial results indicate that this automation greatly decreases the need for manual, labor-intensive tasks and enhances the precision of measuring coupling in MSA, hence facilitating effective decision-making in service integration and modification. Automating the computation of the coupling index has the potential to significantly influence the design and management of durable and readily controllable microservice architectures. |
---|---|
ISSN: | 1877-0509 1877-0509 |
DOI: | 10.1016/j.procs.2024.10.320 |