Advanced Design Pattern Selection Methodology through Weighted Semantic Ontologies for Microservices

Document Type

Article

Publication Date

2024

Abstract

Seamless communication between authorities, people, and smart devices is crucial in today's globally interconnected world. Unprecedented demands on software design result from the advent of ubiquitous connectivity, which allows connections at any time and from any location. By structuring applications as separate services that can communicate both internally inside a platform and externally across platforms, microservices (MS) architecture satisfies these requirements. One of the most difficult parts, though, is still controlling communication between MS services, which calls for knowledge of the best design patterns. In order to solve this, we suggest a context-aware recommender system that is adapted to MS design patterns. This system not only makes recommendations for appropriate patterns, but it also gives statistical scores that show how relevant each solution is to the particular issue at hand. Other patterns with ratings indicating their possible feasibility are also displayed by our algorithm. On the other hand, sentence transformers handle intricate, human-like problem descriptions, while our method uses MS Domain Ontologies to distinguish pattern applications, constraints, and best practices. Our methodology provides a refined examination of solution suitability and recommendations through the use of weighing and correlation algorithms. Extensively tested with more than 237 developer-style scenarios, our framework offers qualitative and quantitative insights into its performance and efficacy, showing notable gains over current solutions in terms of offering pattern-specific, contextually accurate guidance for MS communication challenges.

Share

COinS