Microservice instances selection and load balancing in fog computing using deep reinforcement learning approach

被引:4
作者
Boudieb, Wassim [1 ]
Malki, Abdelhamid [1 ]
Malki, Mimoun [1 ]
Badawy, Ahmed [2 ]
Barhamgi, Mahmoud [2 ]
机构
[1] Ecole Super Informat, LabRi Lab, Sidi Bel Abbes 22000, Algeria
[2] Qatar Univ, Coll Engn, Dept Comp Sci & Engn, Doha, Qatar
来源
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE | 2024年 / 156卷
关键词
Internet of Things; Fog computing; Microservice selection; Deep reinforcement learning; Deadline-aware; Load balancing; OPTIMIZATION; AWARE;
D O I
10.1016/j.future.2024.03.010
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Fog -native computing is an emerging paradigm that makes it possible to build flexible and scalable Internet of Things (IoT) applications using microservice architecture at the network edge. With this paradigm, IoT applications are decomposed into multiple fine-grained microservices, strategically deployed on various fog nodes to support a wide range of IoT scenarios, such as smart cities and smart farming. Nonetheless, the performance of these IoT applications is affected by their limited effectiveness in processing offloaded IoT requests originating from multiple IoT devices. Specifically, the requested IoT services are composed of multiple dependent microservice instances collectively referred to as a service plan (SP). Each SP comprises a series of tasks designed to be executed in a predefined order, with the objective of meeting heterogeneous Quality of Service (QoS) requirements (e.g., low service delays). Different from the cloud, selecting the appropriate service plan for each IoT request can be a challenging task in dynamic fog environments due to the dependency and decentralization of microservice instances, along with the instability of network conditions and service requests (i.e., change quickly over time). To deal with this challenge, we study the microservice instances selection problem for IoT applications deployed on fog platforms and propose a learning -based approach that employs Deep Reinforcement Learning (DRL) to compute the optimal service plans. The latter optimizes the delay of application requests while effectively balancing the load among microservice instances. In our selection process, we carefully address the plan -dependency to efficiently select valid service plans for every request by introducing two distinct approaches; an action masking approach and an adaptive action mapping approach. Additionally, we propose an improved experience replay to address delayed action effects and enhance our model training efficiency. A series of experiments were conducted to assess the performance of our Microservice Instances Selection Policy (MISP) approach. The results demonstrate that our model reduces the average failure rate by up to 65% and improves load balance by up to 45% on average when compared to the baseline algorithms.
引用
收藏
页码:77 / 94
页数:18
相关论文
共 37 条
[1]   Delay-Aware and Energy-Efficient Computation Offloading in Mobile-Edge Computing Using Deep Reinforcement Learning [J].
Ale, Laha ;
Zhang, Ning ;
Fang, Xiaojie ;
Chen, Xianfu ;
Wu, Shaohua ;
Li, Longzhuang .
IEEE TRANSACTIONS ON COGNITIVE COMMUNICATIONS AND NETWORKING, 2021, 7 (03) :881-892
[2]   Composing WoT services with uncertain and correlated data [J].
Awad, Samir ;
Malki, Abdelhamid ;
Malki, Mimoun .
COMPUTING, 2021, 103 (07) :1501-1517
[3]   Deadline-aware and energy-efficient IoT task scheduling in fog computing systems: A semi-greedy approach [J].
Azizi, Sadoon ;
Shojafar, Mohammad ;
Abawajy, Jemal ;
Buyya, Rajkumar .
JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2022, 201
[4]   MsM: A microservice middleware for smart WSN-based IoT application [J].
Benayache, Ayoub ;
Bilami, Azeddine ;
Barkat, Sami ;
Lorenz, Pascal ;
Taleb, Hafnaoui .
JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2019, 144 :138-154
[5]   Microservice Instances Provisioning for IoT Applications in Fog Computing [J].
Boudieb, Wassim ;
Malki, Abdelhamid ;
Malki, Mimoun .
ADVANCES IN COMPUTING SYSTEMS AND APPLICATIONS, 2022, 513 :107-117
[6]   Towards Smart Farming: Fog-enabled intelligent irrigation system using deep neural networks [J].
Cordeiro, Matheus ;
Markert, Catherine ;
Araujo, Sayonara S. ;
Campos, Nidia G. S. ;
Gondim, Rubens S. ;
Coelho da Silva, Ticiana L. ;
da Rocha, Atslands R. .
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2022, 129 :115-124
[7]   Optimal Application Deployment in Resource Constrained Distributed Edges [J].
Deng, Shuiguang ;
Xiang, Zhengzhe ;
Taheri, Javid ;
Khoshkholghi, Mohammad Ali ;
Yin, Jianwei ;
Zomaya, Albert Y. ;
Dustdar, Schahram .
IEEE TRANSACTIONS ON MOBILE COMPUTING, 2021, 20 (05) :1907-1923
[8]   QoS-Constrained Service Selection for Networked Microservices [J].
Ding, Zhijun ;
Wang, Sheng ;
Pan, Meiqin .
IEEE ACCESS, 2020, 8 :39285-39299
[9]   A Particle Swarm Optimization With Levy Flight for Service Caching and Task Offloading in Edge-Cloud Computing [J].
Gao, Tieliang ;
Tang, Qigui ;
Li, Jiao ;
Zhang, Yi ;
Li, Yiqiu ;
Zhang, Jingya .
IEEE ACCESS, 2022, 10 :76636-76647
[10]   Smart Zero-Touch Management of UAV-Based Edge Network [J].
Grasso, Christian ;
Raftopoulos, Raoul ;
Schembra, Giovanni .
IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2022, 19 (04) :4350-4368