Skip to main content

Advertisement

Log in

A genetic-based approach for service placement in fog computing

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

The combination of cloud computing with the Internet of Things has made fundamental changes in areas from industry, healthcare, traffic, and transportation to home appliances and even personal lives. Billions of devices and users are connected through these platforms disseminating enormous amounts of data leading to performance degradation, which has generated a demand for prior application placement planning. This paper focuses on the minimization of application delay and network usage by proposing a genetic-based service placement algorithm in fog-cloud environments. Throughout this work, a penalty-based approach to target both the delay and the number of time-consuming cloud placements is introduced, which explores the solution pool as a function of generations. This helps in exploring a wider space at the beginning and gradually intensifying the effect of penalty in the next generations. In a separate phase, the proximity of the applications to the users is taken into account as well. This is done through the chromosome selection process by using a priority value that identifies the proximity of dependent modules. The results of simulations demonstrate that the proposed algorithm achieved improvements regarding delay, network usage, energy consumption, and cost.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. Vailshery LS. Number of internet of things (IoT) connected devices worldwide in 2018, 2025 and 2030. (Date accessed: September 2021). https://www.statista.com/statistics/802690/worldwide-co%nnected-devices-by-access-technology/

  2. Fareghzadeh N. An architecture supervisor scheme toward performance differentiation and optimization in cloud systems. J Supercomput [Published Online]

  3. Ataie E, Entezari-Maleki R, Etesami SE, Egger B, Ardagna D, Movaghar A (2018) Power-aware performance analysis of self-adaptive resource management in IaaS clouds. Future Gener Comput Syst 86:134–144

    Article  Google Scholar 

  4. Yousefpour A, Fung C, Nguyen T, Kadiyala K, Jalali F, Niakanlahiji A, Kong J, Jue JP (2019) All one needs to know about fog computing and related edge computing paradigms: a complete survey. J Syst Architect 98:289–330

    Article  Google Scholar 

  5. Cha H-J, Yang H-K, Song Y-J (2018) A study on the design of fog computing architecture using sensor networks. Sensors 18(11):3633

    Article  Google Scholar 

  6. Waqas M, Niu Y, Ahmed M, Li Y, Jin D, Han Z (2019) Mobility-aware fog computing in dynamic environments: understandings and implementation. IEEE Access 7:38867–38879

    Article  Google Scholar 

  7. Khan S, Parkinson S, Qin Y (2017) Fog computing security: a review of current applications and security solutions. J Cloud Comput 6(1):1–22

    Article  Google Scholar 

  8. Naranjo PGV, Baccarelli E, Scarpiniti M (2018) Design and energy-efficient resource management of virtualized networked fog architectures for the real-time support of IoT applications. J Supercomput 74:2470–2507

    Article  Google Scholar 

  9. Tang C, Xia S, Li Q, Chen W, Fang W (2021) Resource pooling in vehicular fog computing. J Cloud Comput 10(1):19

    Article  Google Scholar 

  10. Zeng D, Gu L, Yao H (2020) Towards energy efficient service composition in green energy powered cyber-physical fog systems. Future Gener Comput Syst 105:757–765

    Article  Google Scholar 

  11. Tange K, Donno MD, Fafoutis X, Dragoni N (2020) A systematic survey of industrial internet of things security: requirements and fog computing opportunities. IEEE Commun Surv Tutorials 22(4):2489–2520

    Article  Google Scholar 

  12. Salaht FA, Desprez F, Lebre A (2020) An overview of service placement problem in fog and edge computing. ACM Comput Surv 53(3):1–47

    Article  Google Scholar 

  13. Goudarzi M, Palaniswami MS, Buyya R (2021) A distributed deep reinforcement learning technique for application placement in edge and fog computing environments. IEEE Trans Mobile Comput (1) (2021) 1–1

  14. Brogi A, Forti S, Guerrero C, Lera I (2019) How to place your apps in the fog: state of the art and open challenges. Softw: Pract Exp 50(5): 719–740

  15. Yadav AM, Tripathi KN, Sharma SC. A bi-objective task scheduling approach in fog computing using hybrid fireworks algorithm. J Supercomput [Published Online]

  16. Memari P, Mohammadi SS, Jolai F, Tavakkoli-Moghaddam R. A latency-aware task scheduling algorithm for allocating virtual machines in a cost-effective and time-sensitive fog-cloud architecture. J Supercomput [Published Online]

  17. Gupta H, Dastjerdi AV, Ghosh S, Buyya R (2017) iFogSim: a toolkit for modeling and simulation of resource management techniques in the internet of things, edge and fog computing environments. Softw: Pract Exp 47(9): 1275–1296

  18. Papageorgiou A, Cheng B, Kovacs E (2015) Real-time data reduction at the network edge of Internet-of-Things systems. In: The 11th International Conference on Network and Service Management, Barcelona, Spain, 9–13 November, 2015, pp 284–291

  19. Apat HK, Sahoo B, Maiti P (2018) Service placement in fog computing environment. In: The International Conference on Information Technology, Bhubaneswar, India, 20–22 December, pp 272–277

  20. Wadhwa H, Aron R. Technique for resource allocation and management in fog computing environment. J Supercomput [Published Online]

  21. Kabirzadeh S, Rahbari D, Nickray M (2017) A hyper heuristic algorithm for scheduling of fog networks. In: Proceedings of the 21st Conference of Open Innovations Association FRUCT, Helsinki, Finland, 6–10 November, pp 148–155

  22. Naha RK, Garg S, Chan A, Battula SK (2020) Deadline-based dynamic resource allocation and provisioning algorithms in Fog-Cloud environment. Futur Gener Comput Syst 104:131–141

    Article  Google Scholar 

  23. Aburukba RO, AliKarrar M, Landolsi T, El-Fakih K (2020) Scheduling Internet of Things requests to minimize latency in hybrid Fog-Cloud computing. Futur Gener Comput Syst 111:539–551

    Article  Google Scholar 

  24. Canali C, Lancellotti R (2019) A fog computing service placement for smart cities based on genetic algorithms. In: Proceedings of the 9th International Conference on Cloud Computing and Services Science, Heraklion, Crete, Greece, 2–4 May, 2019, pp 81–89

  25. Yusoh ZIM, Tang M (2010) A penalty-based genetic algorithm for the composite SaaS placement problem in the cloud. In: IEEE Congress on Evolutionary Computation, Barcelona, Spain, 18–23 July, 2010, pp 1–8

  26. Skarlat O, Nardelli M, Schulte S, Borkowski M, Leitner P (2017) Optimized IoT service placement in the fog. SOCA 11(4):427–443

    Article  Google Scholar 

  27. Ma X, Gao H, Xu H, Bian M (2019) An IoT-based task scheduling optimization scheme considering the deadline and cost-aware scientific workflow for cloud computing. EURASIP J Wirel Commun Netw 2019(1):249

    Article  Google Scholar 

  28. Topcuoglu H, Hariri S, Min-You W (1999) Task scheduling algorithms for heterogeneous processors. In: Proceedings of the 8th Heterogeneous Computing Workshop, San Juan, Puerto Rico, 12 April, 1999, pp 3–14

  29. Mebrek A, Merghem-Boulahia L, Esseghir M (2017) Efficient green solution for a balanced energy consumption and delay in the IoT-Fog-Cloud computing. In: The IEEE 16th International Symposium on Network Computing and Applications, Cambridge, MA, USA, 30 October, 2017, pp 1–4

  30. Zhang F, Ge J, Li Z, Li C, Huang Z, Kong L, Luo B (2017) Task offloading for scientific workflow application in mobile cloud. In: Proceedings of the 2nd International Conference on Internet of Things, Big Data and Security, Porto, Portugal, 24–26 April, 2017, pp 136–148

  31. Guerrero C, Lera I, Juiz C (2019) Evaluation and efficiency comparison of evolutionary algorithms for service placement optimization in fog architectures. Future Gener Comput Syst 97:131–144

    Article  Google Scholar 

  32. Taneja M, Davy A (2017) Resource aware placement of IoT application modules in fog-cloud computing paradigm. In: The IFIP/IEEE Symposium on Integrated Network and Service Management, Lisbon, Portugal, 8–12 May, 2017, pp 1222–1228

  33. Rezazadeh Z, Rezaei M, Nickray M (2019) LAMP: a hybrid fog-cloud latency-aware module placement algorithm for IoT applications. In: The 5th Conference on Knowledge Based Engineering and Innovation, Tehran, Iran, 28 February–1 March, 2019, pp 845–850

  34. Benamer AR, Teyeb H, Hadj-Alouane NB (2018) Latency-aware placement heuristic in fog computing environment. In: OTM 2018 Conferences on the Move to Meaningful Internet Systems, Valletta, Malta, 18 October, 2018, pp 241–257

  35. Joseph CT, Chandrasekaran K, Cyriac R (2019) A novel family genetic approach for virtual machine allocation. Procedia Comput Sci 46:558–565

    Article  Google Scholar 

  36. Durairaj M, Kannan P (2015) Improvised genetic approach for an effective resource allocation in cloud infrastructure. Int J Comput Sci Inf Technol 6(4):1–10

    Google Scholar 

  37. Brogi A, Forti S, Guerrero C, Lera I (2019) Meet genetic algorithms in monte carlo: optimised placement of multi-service applications in the fog. In: The IEEE International Conference on Edge Computing, Milan, Italy, 8–13 July, 2019, pp 13–17

  38. Yousefpour A, Ishigaki G, Jue JP (2017) Fog computing: towards minimizing delay in the Internet of Things. In: The IEEE International Conference on Edge Computing, Honolulu, HI, USA, 25–30 June, 2017, pp 17–24

  39. Canali C, Lancellotti R (2019) GASP: genetic algorithms for service placement in fog computing systems. Algorithms 12(10):201

    Article  MathSciNet  Google Scholar 

  40. Mennes R, Spinnewyn B, Latre S, Botero JF (2016) GRECO: a distributed genetic algorithm for reliable application placement in hybrid clouds. In: The 5th IEEE International Conference on Cloud Networking, Pisa, Italy, 3–5 October, 2016, pp 14–20

  41. Taheri G, Khonsari A, Entezari-Maleki R, Sousa L (2020) A hybrid algorithm for task scheduling on heterogeneous multiprocessor embedded systems. Appl Soft Comput 91:106202

    Article  Google Scholar 

  42. Yadav V, Natesha BV, Guddeti RMR (2019) GA-PSO: service allocation in fog computing environment using hybrid bio-inspired algorithm. In: The IEEE Region 10 Conference (TENCON), Kochi, India, 17–20 October, 2019, pp 1280–1285

  43. Hassanat A, Almohammadi K, Alkafaween E, Abunawas E, Hammouri A, Prasath VBS (2019) Choosing mutation and crossover ratios for genetic algorithms: a review with a new dynamic approach. Information 10(12):390

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Reza Entezari-Maleki.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sarrafzade, N., Entezari-Maleki, R. & Sousa, L. A genetic-based approach for service placement in fog computing. J Supercomput 78, 10854–10875 (2022). https://doi.org/10.1007/s11227-021-04254-w

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-021-04254-w

Keywords

Navigation