Ensuring microservice architectural consistency through automated detection of drifts and erosions
dc.contributor.advisor | Rathnayake, S | |
dc.contributor.author | Jabir, AZ | |
dc.date.accept | 2024 | |
dc.date.accessioned | 2025-06-20T04:14:19Z | |
dc.date.issued | 2024 | |
dc.description.abstract | In the shift from monolithic to microservices architecture within the software development industry, the benefits of improved system resilience, agility, and decentralized data management are clear. Yet, this also introduces significant challenges in maintaining architectural consistency. The decentralized and heterogeneous nature of microservices imposes challenges in managing and maintaining the architecture integrity, which can lead to architectural degradation. This poses maintenance challenges and risks project success. The role of architectural integrity is crucial across the software lifecycle, affecting the development, deployment, and maintenance phases. Inconsistencies within the architecture can confuse the developers and make existing documentation outdated. Moreover, manual or semi-automated checks for architectural conformance are not only time-consuming but also prone to errors, highlighting the need for automated solutions. Recent studies have discovered the need for mechanisms that can proactively address architectural problems in microservices. The findings vouch that software architecture reconstruction is useful for addressing these architectural issues, with static analysis showing significant promise for the reconstruction of software architecture. However, there remains a notable gap in the utilization of languageneutral artifacts for automated reasoning and generating reports about the integrity of microservices architectures. This research presents a novel approach to ensure the consistency of microservice architecture by automating the detection of drifts and erosions. By adopting Model-Driven Engineering principles, which is widely in practice in the industry, our approach uses a textual technique to create a metamodel for each microservice and its communications, achieving technology neutrality. The process begins with a static analysis of the metamodel files and the intended architecture, followed by the construction of service dependency graphs to compare the intended and modified architectures. This systematic approach allows for the accurate identification of deviations, offering a preventive way to address architectural inconsistencies. To assess the effectiveness of this method, we evaluated it using the popular microservices demo application, OnlineBoutique. The findings demonstrate that our approach can precisely identify all microservices within the application and detect violations. These results suggest that our method is not only effective but also efficient in proactively identifying architectural drifts and erosions, contributing significantly to the maintenance of microservices architecture. | |
dc.identifier.accno | TH5614 | |
dc.identifier.citation | Jabir, A.Z. (2024). Ensuring microservice architectural consistency through automated detection of drifts and erosions [Master\'s theses, University of Moratuwa]. Institutional Repository University of Moratuwa. https://dl.lib.uom.lk/handle/123/23693 | |
dc.identifier.degree | MSc in Computer Science | |
dc.identifier.department | Department of Computer Science & Engineering | |
dc.identifier.faculty | Engineering | |
dc.identifier.uri | https://dl.lib.uom.lk/handle/123/23693 | |
dc.language.iso | en | |
dc.subject | SOFTWARE DEVELOPMENT-Microservice Architecture | |
dc.subject | SOFTWARE ARCHITECTURE DEGRADATION | |
dc.subject | SOFTWARE ARCHITECTURE RECONSTRUCTION | |
dc.subject | SOFTWARE ARCHITECTURE-Conformance Checking | |
dc.subject | MODEL-DRIVEN ENGINEERING | |
dc.subject | COMPUTER SCIENCE AND ENGINEERING-Dissertation | |
dc.subject | MSc in Computer Science | |
dc.title | Ensuring microservice architectural consistency through automated detection of drifts and erosions | |
dc.type | Thesis-Abstract |
Files
Original bundle
1 - 3 of 3
Loading...
- Name:
- TH5614-1.pdf
- Size:
- 105.75 KB
- Format:
- Adobe Portable Document Format
- Description:
- Pre-text
Loading...
- Name:
- TH5614-2.pdf
- Size:
- 80.75 KB
- Format:
- Adobe Portable Document Format
- Description:
- Post-text
Loading...
- Name:
- TH5614.pdf
- Size:
- 2.53 MB
- Format:
- Adobe Portable Document Format
- Description:
- Full-thesis
License bundle
1 - 1 of 1
Loading...
- Name:
- license.txt
- Size:
- 1.71 KB
- Format:
- Item-specific license agreed upon to submission
- Description: