Investigating Performance Metrics for Scaling Microservices in CloudIoT-Environments

被引:25
作者
Gotin, Manuel [1 ]
Loesch, Felix [1 ]
Heinrich, Robert [2 ]
Reussner, Ralf [2 ]
机构
[1] Robert Bosch GmbH, Renningen, Germany
[2] Karlsruhe Inst Technol, Karlsruhe, Germany
来源
PROCEEDINGS OF THE 2018 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE '18) | 2018年
关键词
Cloud Computing; Internet of Things (IoT); Microservices; Message Queues; Performance Metrics; Auto-Scaler; Threshold-based rules; Performance;
D O I
10.1145/3184407.3184430
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A CloudIoT solution typically connects thousands of IoT things with cloud applications in order to store or process sensor data. In this environment, the cloud applications often consist of microservices which are connected to each other via message queues and must reliably handle a large number of messages produced by the IoT things. The state of a message queue in such a system can be a challenge if the rate of incoming messages continuously exceeds the rate of outgoing messages. This can lead to performance and reliability degradations due to overloaded queues and result in the unavailability of the cloud application. In this paper we present a case study to investigate which performance metrics to be used by a threshold-based auto-scaler for scaling consuming microservices of a message queue in order to prevent overloaded queues and to avoid SLA violations. We evaluate the suitability of each metric for scaling I/O-intensive and compute-intensive microservices with constant and varying characteristics, such as service time. We show, that scaling decisions based on message queue metrics are much more resilient to microservice characteristics variations. In this case, relying on the CPU utilization may result in massive overprovisioning or no scaling decision at all which could lead to an overloaded queue and SLA violations. We underline the benefits of using message queue metrics for scaling decisions instead of the more traditional CPU utilization particularly for I/O-intensive microservices due to the vulnerability to variations in the microservice characteristics.
引用
收藏
页码:157 / 167
页数:11
相关论文
共 24 条
  • [1] [Anonymous], 2014, MICROSERVICES DEFINI
  • [2] [Anonymous], 2017, ARXIV PREPRINT ARXIV
  • [3] Bass L., 2015, DevOps: A Software Architect's Perspective
  • [4] Bauer A., 2017, Proc. 8th ACM/SPEC on Intl. Conf. Performance Engineering, P425, DOI DOI 10.1145/3030207.3053678
  • [5] Integration of Cloud computing and Internet of Things: A survey
    Botta, Alessio
    de Donato, Walter
    Persico, Valerio
    Pescape, Antonio
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2016, 56 : 684 - 700
  • [6] An Architecture to Support the Collection of Big Data in the Internet of Things
    Cecchinel, Cyril
    Jimenez, Matthieu
    Mosser, Sebastien
    Riveill, Michel
    [J]. 2014 IEEE WORLD CONGRESS ON SERVICES (SERVICES), 2014, : 442 - 449
  • [7] Chen Y, 2006, LECT NOTES COMPUT SC, V4318, P153
  • [8] Dragoni N., 2016, Microservices: yesterday, today, and tomorrow
  • [9] Elastic Message Queues
    El Rheddane, Ahmed
    de Palma, Noel
    Tchana, Alain
    Hagimont, Daniel
    [J]. 2014 IEEE 7TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD), 2014, : 17 - 23
  • [10] Performance Engineering for Microservices: Research Challenges and Directions
    Heinrich, Robert
    van Hoorn, Andre
    Knoche, Holger
    Li, Fei
    Lwakatare, Lucy Ellen
    Pahl, Claus
    Schulte, Stefan
    Wettinger, Johannes
    [J]. ICPE'17: COMPANION OF THE 2017 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING, 2017, : 223 - 226