Abstract
With increasing growth in IoT, the number of devices connected to the Internet is constantly growing. Moreover, the increase in the volume of data and their transmission through the Internet of Things, as well as the existence of inadequate bandwidth, limits cloud-based storage and data processing. Both fog and cloud computing provide the storage space, application, and data for users; however, fog is more proximate to the end user with wider geographical distribution. When bringing the computing resources closer to the required location in the fog environment, the efficiency of the system increases, and the distance at which data must be transmitted decreases. On the other hand, implementing IoT applications and satisfying the requests of end users in fog computing will create new challenges in resource allocation and dynamic resource provisioning. The flexible and usually automatic mechanisms require the determination of required virtual resources to minimize the resource consumption and service level agreement (SLA). In this paper, we introduce a framework for increasing resource management efficiency in the IoT ecosystem based on deep reinforcement learning (DRL). The proposed deep neural network (DNN) method for estimating value functions improves adaptability to different oscillating conditions, learns past sensible strategies, and as a self-learning adaptive system by replicating interactions with the fog environment. The DRL algorithm finds the best destination for implementing IoT services to compromise between minimizing average power consumption, minimizing average service latency, reducing costs, and balancing resource allocation. Finally, through simulations, we show that under different loading rates, the policy used compared to other comparable solutions is to increase utilization and reduce the rate of delay, while ensuring an acceptable level of service quality.







Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Asghari P, Rahmani AM, Javadi HHS (2019) Internet of things applications: a systematic review. Comput Netw 148:241–261
Kalantary S, Akbari Torkestani J, Shahidinejad A (2021) Resource discovery in the Internet of things integrated with fog computing using markov learning model. J Supercomput 77(12):13806–13827
Gill SS et al (2019) Transformative effects of IoT, Blockchain and artificial intelligence on cloud computing: evolution, vision, trends and open challenges. Int of Things 8:100–118
Hashemi S, Zarei M (2021) Internet of things backdoors: resource management issues, security challenges, and detection methods. Trans Emerg Telecommun Technol 32(2):4142
Mouradian C et al (2018) A Comprehensive survey on fog computing: state-of-the-art and research challenges. IEEE Commun Surv Tutorials 20(1):416–464
Hu P et al (2017) Survey on fog computing: architecture, key technologies, applications and open issues. J Netw Comput Appl 98:27–42
Gasmi K, Dilek S, Tosun S, Ozdemir S (2021) A survey on computation offloading and service placement in fog computing-based IoT. J Supercomput 78(2):1983–2014. https://doi.org/10.1007/s11227-021-03941-y
Taherizadeh S et al (2018) Monitoring self-adaptive applications within edge computing frameworks: a state-of-the-art review. J Syst Softw 136:19–38
Aslanpour MS et al (2018) Resource provisioning for cloud applications: a 3-d, provident and flexible approach. J Supercomput 74(12):6470–6501
Ghobaei-Arani M, Souri A, Rahmanian AA (2019) Resource management approaches in fog computing: a comprehensive review. J Grid Comput 18(1):1–42. https://doi.org/10.1007/s10723-019-09491-1
Singh S, Chana I (2016) Resource provisioning and scheduling in clouds: qoS perspective. J Supercomput 72(3):926–960
Li C, Bai J, Luo Y (2020) Efficient resource scaling based on load fluctuation in edge-cloud computing environment. J Supercomput 76(9):6994–7025. https://doi.org/10.1007/s11227-019-03134-8
Le T et al (2019) Machine learning methods for reliable resource provisioning in edge-cloud computing: a survey. ACM Comput Surv 52:1–39
Santos H et al (2020) A multi-tier fog content orchestrator mechanism with quality of experience support. Comput Netw 177:107288
Stavrinides GL, Karatza HD (2002) Orchestration of real-time workflows with varying input data locality in a heterogeneous fog environment. In 2020 Fifth International Conference on Fog and Mobile Edge Computing (FMEC)
Dinh TQ et al (2020) Online resource procurement and allocation in a hybrid edge-cloud computing system. IEEE Trans Wireless Commun 19(3):2137–2149
Yousefpour A et al (2019) FOGPLAN: a lightweight qos-aware dynamic fog service provisioning framework. IEEE Internet Things J 6(3):5080–5096
Porkodi V et al (2020) Resource provisioning for cyber–physical–social system in cloud-fog-edge computing using optimal flower pollination algorithm. ieee access 8:105311–105319
Mehmandar MF, Jabbehdari S, Javadi HHS (2020) A dynamic fog service provisioning approach for IoT applications. Int J Commun Syst 33(14):e4541. https://doi.org/10.1002/dac.4541
Kim YG, Wu CJ (2020) AutoScale: energy efficiency optimization for stochastic edge inference using reinforcement learning. In: 2020 53rd annual ieee/acm I symp microarchitecture (MICRO).
Al-Makhadmeh Z, Tolba A (2021) SRAF: Scalable resource allocation framework using machine learning in user-centric internet of things. Peer-to-Peer Netw Appl 14(4):2340–2350
Nguyen ND et al (2020) Elasticfog: elastic resource provisioning in container-based fog computing. IEEE Access 8:183879–183890
Pereira P et al (2020) Stochastic performance model for web server capacity planning in fog computing. J Supercomput 76(12):9533–9557
Bahreini T, Badri H, Grosu D (2019) Energy-aware capacity provisioning and resource allocation in edge computing systems. Springer, Cham, pp 31–45
Liu B et al (2020) Workload forecasting based elastic resource management in edge cloud. Comput Ind Eng 139:106–136
Madan N et al (2020) On-demand resource provisioning for vehicular networks using flying fog. Veh Commun 25:100252
Siasi N et al (2020) Delay-aware sfc provisioning in hybrid fog-cloud computing architectures. IEEE Access 8:167383–167396
Abdullah M, Iqbal W, Mahmood A, Bukhari F, Erradi A (2021) Predictive autoscaling of microservices hosted in fog microdata center. IEEE Syst J 15(1):1275–1286. https://doi.org/10.1109/JSYST.2020.2997518
Gupta H et al. (2017) iFogSim a toolkit for modeling and simulation of resource management techniques in the Internet of things, edge and fog computing environments. Softw Practice and Exp 47(9): 1275–1296.
Calheiros RN, Ranjan R, Beloglazov A, De Rose CA, Buyya R (2011) CloudSim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Softw: Practice and Exp 41(1), 23-50
Faraji-Mehmandar M, Jabbehdari S, Haj Seyyed Javadi H (2021) A proactive fog service provisioning framework for Internet of things applications: an autonomic approach. Trans Emerg Telecommun Technol 32(11): p. e4342
Deng X et al (2020) Task allocation algorithm and optimization model on edge collaboration. J of syst archit 110:101778
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Faraji-Mehmandar, M., Jabbehdari, S. & Javadi, H.H.S. A self-learning approach for proactive resource and service provisioning in fog environment. J Supercomput 78, 16997–17026 (2022). https://doi.org/10.1007/s11227-022-04521-4
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-022-04521-4