SEAMS 2024
Mon 15 - Tue 16 April 2024 Lisbon, Portugal
co-located with ICSE 2024

Microservices architecture offers various benefits, including granularity, flexibility, and scalability. A crucial feature of this architecture is the ability to autoscale microservices, i.e., adjust the number of replicas and/or manage resources. Several autoscaling solutions already exist. Nonetheless, when employed for diverse microservices compositions, current solutions may exhibit suboptimal resource allocations, either exceeding the actual requirements or falling short. This can in turn lead to unbalanced environments, downtime, and undesirable infrastructure costs. We propose MS-RA, a self-adaptive, requirements-driven solution for microservices autoscaling. MS-RA utilizes service-level objectives (SLOs) for real-time, self-adaptive decision making. Our solution, which is customizable to specific needs and costs, facilitates a more efficient allocation of resources by precisely using the right amount to meet the defined requirements. We have developed MS-RA based on the MAPE-K self-adaptive loop, and have evaluated it using an open-source microservice application. Our results indicate that MS-RA considerably outperforms the horizontal pod autoscaler (HPA), the industry-standard Kubernetes autoscaling mechanism. It achieves this by using fewer resources while still ensuring the satisfaction of system SLOs. Specifically, MS-RA meets the SLO requirements of our case study system, requiring at least 50% less CPU time, 87% less memory, and 90% fewer replicas compared to the HPA.

Keywords: Microservices, Requirements-driven autoscaling, Self-adaptation, Service-level objectives (SLO), Kubernetes, Horizontal pod autoscaler (HPA)

Tue 16 Apr

Displayed time zone: Lisbon change

14:00 - 15:30
Session 7: SAS ApplicationsResearch Track / Artifact Track at Luis de Freitas Branco
Chair(s): Ilias Gerostathopoulos Vrije Universiteit Amsterdam
14:00
25m
Talk
Patterns of Applied Control for Public Health Measures on Transportation Services under EpidemicFULL
Research Track
Kenneth Johnson Auckland University of Technology, Samaneh Madanian Auckland University of Technology, Catia Trubiani Gran Sasso Science Institute
14:25
15m
Talk
An Artifact Exemplar for Engineering Self-Adaptive Microservice ApplicationsARTIFACT
Artifact Track
Vincenzo Riccio Politecnico di Milano, Giancarlo Sorrentino Politecnico di Milano, Ettore Zamponi Politecnico di Milano, Matteo Camilli Politecnico di Milano, Raffaela Mirandola Karlsruhe Institute of Technology (KIT), Patrizia Scandurra University of Bergamo, Italy
Media Attached
14:40
15m
Talk
Self-adaptive, Requirements-driven Autoscaling of MicroservicesSHORT
Research Track
João Paulo Karol Santos Nunes IBM Brazil and University of São Paulo, Shiva Nejati University of Ottawa, Mehrdad Sabetzadeh University of Ottawa, Elisa Yumi Nakagawa University of São Paulo
Pre-print
14:55
15m
Talk
GreenhouseDT: An Exemplar for Digital TwinsARTIFACT
Artifact Track
Eduard Kamburjan University of Oslo, Riccardo Sieve University of Oslo, Chinmayi Prabhu Baramashetru University of Oslo, Marco Amato University of Turin, Gianluca Barmina University of Turin, Eduard Occhipinti University of Turin, Einar Broch Johnsen University of Oslo
15:10
15m
Talk
Latency-aware RDMSim: Enabling the Investigation of Latency in Self-Adaptation for the Case of Remote Data MirroringARTIFACT
Artifact Track
Sebastian Götz Technische Universität Dresden, Nelly Bencomo Durham University, Huma Samin Durham University