Dynamic Evaluation of Microservice Granularity Adaptation
Open Access
- 30 June 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Autonomous and Adaptive Systems
- Vol. 16 (2) , 1-35
Abstract
Microservices have gained acceptance in software industries as an emerging architectural style for autonomic, scalable, and more reliable computing. Among the critical microservice architecture design decisions is when to adapt the granularity of a microservice architecture by merging/decomposing microservices. No existing work investigates the following question: How can we reason about the trade-off between predicted benefits and cost of pursuing microservice granularity adaptation under uncertainty? To address this question, we provide a novel formulation of the decision problem to pursue granularity adaptation as a real options problem. We propose a novel evaluation process for dynamically evaluating granularity adaptation design decisions under uncertainty. Our process is based on a novel combination of real options and the concept of Bayesian surprises. We show the benefits of our evaluation process by comparing it to four representative industrial microservice runtime monitoring tools, which can be used for retrospective evaluation for granularity adaptation decisions. Our comparison shows that our process can supersede and/or complement these tools. We implement a microservice application—Filmflix—using Amazon Web Service Lambda and use this implementation as a case study to show the unique benefit of our process compared to traditional application of real options analysis.Keywords
This publication has 26 references indexed in Scilit:
- Microservices validation: Mjolnirr platform case study2015
- Learning-Based Testing of Distributed Microservice Architectures: Correctness and Fault Injection2015
- Modeling Software Evolution with Game Theory2009
- Improving modularity by refactoring code clonesACM SIGSOFT Software Engineering Notes, 2008
- Adaptation Hiding Modularity for Self-Adaptive Systems2007
- Using dependency models to manage complex software architecture2005
- Quantitative approaches for assessing the value of COTS-centric development2003
- The structure and value of modularity in software design2001
- Software economics2000
- The valuation of warrants: Implementing a new approachJournal of Financial Economics, 1977