Self-adaptive, Requirements-driven Autoscaling of Microservices

被引:0
|
作者
Nunes, Joao Paulo Karol Santos [1 ,2 ]
Nejati, Shiva [3 ]
Sabetzadeh, Mehrdad [3 ]
Nakagawa, Elisa Yumi [1 ]
机构
[1] Univ Sao Paulo, Sao Paulo, Brazil
[2] IBM Brazil, Sao Paulo, Brazil
[3] Univ Ottawa, Ottawa, ON, Canada
基金
加拿大自然科学与工程研究理事会; 巴西圣保罗研究基金会;
关键词
Microservices; Requirements-driven autoscaling; Service-level objectives (SLO); Kubernetes; Horizontal pod autoscaler (HPA);
D O I
10.1145/3643915.3644094
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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. MSRA utilizes service-level objectives (SLOs) for real-time 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-based 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 the SLOs of interest. 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.
引用
收藏
页码:168 / 174
页数:7
相关论文
共 50 条
  • [1] Developing self-adaptive microservices
    Figueira, Joao
    Coutinho, Carlos
    [J]. 5TH INTERNATIONAL CONFERENCE ON INDUSTRY 4.0 AND SMART MANUFACTURING, ISM 2023, 2024, 232 : 264 - 273
  • [2] Requirements-Driven Adaptive Digital Forensics
    Pasquale, Liliana
    Yu, Yijun
    Salehie, Mazeiar
    Cavallaro, Luca
    Thein Than Tun
    Nuseibeh, Bashar
    [J]. 2013 21ST IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE), 2013, : 340 - 341
  • [3] An Architecture for Requirements-Driven Self-reconfiguration
    Dalpiaz, Fabiano
    Giorgini, Paolo
    Mylopoulos, John
    [J]. ADVANCED INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2009, 5565 : 246 - 260
  • [4] ATOM: Model-Driven Autoscaling for Microservices
    Gias, Alim Ul
    Casale, Giuliano
    Woodside, Murray
    [J]. 2019 39TH IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2019), 2019, : 1994 - 2004
  • [5] Kuksa*: Self-adaptive Microservices in Automotive Systems
    Banijamali, Ahmad
    Kuvaja, Pasi
    Oivo, Markku
    Jamshidi, Pooyan
    [J]. PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT (PROFES 2020), 2020, 12562 : 367 - 384
  • [6] Performance Analysis of Self-adaptive Policies in Containerized Microservices
    Sliem, Mehdi
    Salmi, Nabila
    Ioualalen, Malika
    [J]. 2021 7TH INTERNATIONAL CONFERENCE ON ENGINEERING AND EMERGING TECHNOLOGIES (ICEET 2021), 2021, : 600 - 605
  • [7] The Generation and Evolution of Adaptation Rules in Requirements Driven Self-adaptive Systems
    Zhao, Tianqi
    [J]. 2016 IEEE 24TH INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE), 2016, : 456 - 461
  • [8] A Survey and Taxonomy of Self-Aware and Self-Adaptive Cloud Autoscaling Systems
    Chen, Tao
    Bahsoon, Rami
    Yao, Xin
    [J]. ACM COMPUTING SURVEYS, 2018, 51 (03)
  • [9] Requirements-driven data engineering
    Aiken, P
    Yoon, Y
    Leong-Hong, B
    [J]. INFORMATION & MANAGEMENT, 1999, 35 (03) : 155 - 168
  • [10] Requirements-driven Reuse Recommendation
    Abbas, Muhammad
    Saadatmand, Mehrdad
    Enoiu, Eduard Paul
    [J]. SPLC '21: PROCEEDINGS OF THE 25TH ACM INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2021,