Improving microservice-based applications with runtime placement adaptation

被引:41
|
作者
Sampaio, Adalberto R., Jr. [1 ]
Rubin, Julia [2 ]
Beschastnikh, Ivan [3 ]
Rosa, Nelson S. [1 ]
机构
[1] Univ Fed Pernambuco, Ctr Informat, Recife, PE, Brazil
[2] Univ British Columbia, Dept Elect & Comp Engn, Vancouver, BC, Canada
[3] Univ British Columbia, Dept Comp Sci, Vancouver, BC, Canada
关键词
Microservices; Runtime adaptation; Optimization; MODEL;
D O I
10.1186/s13174-019-0104-0
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Microservices are a popular method to design scalable cloud-based applications. Microservice-based applications (mu Apps) rely on message passing for communication and to decouple each microservice, allowing the logic in each service to scale independently. Complex mu Apps can contain hundreds of microservices, complicating the ability of DevOps engineers to reason about and automatically optimize the deployment. In particular, the performance and resource utilization of a mu App depends on the placement of the microservices that compose it. However, existing tools for mu Apps, like Kubernetes, provide minimal ability to influence the placement and utilization of a mu App deployment. In this paper, we first identify the runtime aspects of microservice execution that impact the placement of microservices in a mu App. We then review the challenges of reconfiguring a mu App based on these aspects. Our main contribution is an adaptation mechanism, named REMaP, to manage the placement of microservices in an mu App automatically. To achieve this, REMaP uses microservice affinities and resource usage history. We evaluate our REMaP prototype and demonstrate that our solution is autonomic, lowers resource utilization, and can substantially improve mu App performance.
引用
收藏
页数:30
相关论文
共 50 条
  • [1] Distributed Redundant Placement for Microservice-based Applications at the Edge
    Zhao, Hailiang
    Deng, Shuiguang
    Liu, Zijie
    Yin, Jianwei
    Dustdar, Schahram
    [J]. IEEE TRANSACTIONS ON SERVICES COMPUTING, 2022, 15 (03) : 1732 - 1745
  • [2] A User-driven Adaptation Approach for Microservice-based IoT Applications
    De Sanctis, Martina
    Muccini, Henry
    Vaidhyanathan, Karthik
    [J]. 11TH INTERNATIONAL CONFERENCE ON THE INTERNET OF THINGS, IOT 2021, 2021, : 48 - 56
  • [3] Transparent Tracing of Microservice-based Applications
    Santana, Matheus
    Sampaio, Adalberto, Jr.
    Andrade, Marcos
    Rosa, Nelson S.
    [J]. SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1252 - 1259
  • [4] IRENE: Interference and High Availability Aware Microservice-based Applications Placement for Edge Computing
    Souza, Paulo
    Nascimento, Joao
    Boeira, Conrado
    Vieira, Angelo
    Rubin, Felipe
    Reis, Romulo
    Rossi, Fabio
    Ferreto, Tiago
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND SERVICES SCIENCE (CLOSER), 2020, : 490 - 497
  • [5] An Advanced DevOps Environment for Microservice-based Applications
    Throner, Stefan
    Huetter, Heiko
    Saenger, Niklas
    Schneider, Michael
    Hanselmann, Simon
    Petrovic, Patrick
    Abeck, Sebastian
    [J]. 2021 15TH IEEE INTERNATIONAL CONFERENCE ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE 2021), 2021, : 134 - 143
  • [6] Towards a Reference Dataset of Microservice-Based Applications
    Brogi, Antonio
    Canciani, Andrea
    Neri, Davide
    Rinaldi, Luca
    Soldani, Jacopo
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2017, 2018, 10729 : 219 - 229
  • [7] Detecting Artifact Anomalies in Microservice-Based Financial Applications
    Fahmi, Faisal
    Huang, Pei-Shu
    Wang, Feng-Jian
    [J]. 2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (SCC 2020), 2020, : 418 - 421
  • [8] Data-driven Adaptation in Microservice-based IoT Architectures
    De Sanctis, Martina
    Muccini, Henry
    Vaidhyanathan, Karthik
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2020), 2020, : 59 - 62
  • [9] Improving the Implementation of Microservice-Based Systems with Static Code Analysis
    Copei, Sebastian
    Schreiter, Maximilian
    Zuendorf, Albert
    [J]. AGILE PROCESSES IN SOFTWARE ENGINEERING AND EXTREME PROGRAMMING - WORKSHOPS, XP 2022 WORKSHOPS, XP 2023 WORKSHOPS, 2024, 489 : 31 - 38
  • [10] Microservice-based Architecture for the NRDC
    Le, Vinh D.
    Neff, Melanie M.
    Stewart, Royal V.
    Kelley, Richard
    Fritzinger, Eric
    Dascalu, Sergiu M.
    Harris, Frederick C., Jr.
    [J]. PROCEEDINGS 2015 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2015, : 1659 - 1664