Dynamic Evaluation of Microservice Granularity Adaptation

Hassan, Sara and Bahsoon, Rami and Minku, Leandro and Ali, Nour (2022) Dynamic Evaluation of Microservice Granularity Adaptation. Transactions on Autonomous and Adaptive Systems, 16 (2). ISSN 1556-4665

Dynamic_Evaluation_of_Microservice_Granularity_Adaptation__for_Open_Access__.pdf - Accepted Version

Download (2MB)


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 (AWS) 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.

Item Type: Article
Identification Number: https://doi.org/10.1145/3502724
24 November 2021Accepted
4 March 2022Published Online
Uncontrolled Keywords: microservices, granularity, decisions, runtime, software economics
Subjects: CAH11 - computing > CAH11-01 - computing > CAH11-01-01 - computer science
CAH11 - computing > CAH11-01 - computing > CAH11-01-04 - software engineering
Divisions: Faculty of Computing, Engineering and the Built Environment > School of Computing and Digital Technology
Depositing User: Sara Hassan
Date Deposited: 29 Nov 2021 13:42
Last Modified: 11 Mar 2022 09:57
URI: https://www.open-access.bcu.ac.uk/id/eprint/12478

Actions (login required)

View Item View Item


In this section...