A Novel Approach for Dynamic Microservices Composition: Harnessing the Power of the PMCE Framework

Nivetha Ramachandran, M. Thirumaran · 2024

The microservices architectural strategy empowers organizations to develop software comprised of small, independent services that communicate via well-defined Application Pro-gramming Interfaces (APIs). These services, collectively forming a microservices architecture (MSA), boast high maintainability, loose coupling, and autonomous deployment capabilities. This architectural paradigm fosters scalability and facilitates the integration of agile requirements or new features. Each service is designed to address specific business functionalities. However managing the logic and execution sequence of multiple microservices within an MSA can be challenging. Orchestration and communication between these services require careful coor-dination. Determining the appropriate size and functionality of each microservice to meet business needs is also a complex task, despite the scalability and flexibility benefits it offers. Recognizing these challenges there are many industry orchestration engines for seamless microservices composition. These are robust and secure but while adhering to these engines is a big hurdles for organisations as the Complexity, scalability limitations, vendor lock-in, limited customization, and high costs are drawbacks of these orchestration engines. In this paper, we introduce a novel approach for dynamic microservices composition using the Probabilistic Markov Chain Engine (PMCE) framework. This innovative method leverages the power of Markov Chains to dynamically select and orchestrate microservices based on his-torical performance, reliability, and transition probabilities. By continuously adapting to real-time data, the PMCE framework enhances system efficiency, resilience, and responsiveness. Our approach significantly improves service composition in complex, distributed environments, ensuring optimal performance and seamless user experiences. Extensive simulations demonstrate the effectiveness of the PMCE framework in various scenarios, show-casing its potential as a robust solution for modern microservices architecture.

Read the paper · More papers on PaperTik