Skip to main content

Advertisement

Log in

A scalable and flexible platform for service placement in multi-fog and multi-cloud environments

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

Abstract

Provisioning services for Internet of Things (IoT) devices leads to several challenges: heterogeneity of IoT devices, varying Quality of Services requirements, and increasing availability of both Cloud and Fog resources. The last of these is most significant to cope with Cloud infrastructure providers (CIPs) limitations for latency-sensitive services. Many Fog infrastructure providers (FIPs) have recently emerged, and their number is increasing continually. Selecting a suitable provider for each service involves considering multiple factors such as the provider’s available resources, geographic location, quality of service, and cost. Motivated by this, FLEX is proposed in this work as a platform for service placement in a multi-Fog and multi-Cloud environment. For each service, FLEX broadcasts service requirements to the resource managers (RMs) of the available Fog and Cloud service providers and then selects the most suitable provider for that service. FLEX is scalable and flexible as it leaves it up to the RMs to have their own policy for the placement of submitted services. Also, the problem of service placement in multi-provider environments has been formulated as an optimization problem to jointly minimize the total weighted delay and cost of services. Next, a heuristic algorithm, namely minimum cost and delay first (MCD1), is proposed to map services to FIPs and CIPs efficiently.To evaluate the performance of the proposed algorithm, extensive experiments are conducted to analyze the behavior of the algorithm under different scenarios, such as a varying number of services, providers, and the ratio of FIPs. Results show that MCD1 significantly performs better than baseline methods and genetic algorithms. In particular, the proposed algorithm can reduce the objective function value up to 26.8%.

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

Similar content being viewed by others

Data availability

The dataset used in this study is available in the text.

References

  1. Agmon Ben-Yehuda O, Ben-Yehuda M, Schuster A, Tsafrir D (2013) Deconstructing amazon ec2 spot instance pricing. ACM Trans Econ Comput (TEAC) 1(3):1–20

    Article  Google Scholar 

  2. Alencar D, Both C, Antunes R, Oliveira H, Cerqueira E, Rosário D (2021) Dynamic microservice allocation for virtual reality distribution with qoe support. IEEE Trans Netw Serv Manag

  3. Aslanpour MS, Toosi AN, Cicconetti C, Javadi B, Sbarski P, Taibi D, Assuncao M, Gill SS, Gaire R, Dustdar S (2021) Serverless edge computing: vision and challenges. In: 2021 Australasian Computer Science Week Multiconference. IEEE, pp 1–10

  4. Baranwal G, Yadav R, Vidyarthi DP (2020) Qoe aware iot application placement in fog computing using modified-topsis. Mob Netw Appl 25(5):1816–1832

    Article  Google Scholar 

  5. Bonomi F, Milito R, Natarajan P, Zhu J (2014) Fog computing: a platform for internet of things and analytics. In: Big Data and Internet of Things: A Roadmap for Smart Environments. Springer, pp 169–186

  6. Cao X, Tang G, Guo D, Li Y, Zhang W (2020) Edge federation: towards an integrated service provisioning model. IEEE/ACM Trans Netw 28(3):1116–1129

    Article  Google Scholar 

  7. Castro P, Ishakian V, Muthusamy V, Slominski A (2019) The rise of serverless computing. Commun ACM 62(12):44–54

    Article  Google Scholar 

  8. Dhingra S, Madda RB, Gandomi AH, Patan R, Daneshmand M (2019) Internet of things mobile-air pollution monitoring system (iot-mobair). IEEE Internet Things J 6(3):5577–5584

    Article  Google Scholar 

  9. Donassolo B, Fajjari I, Legrand A, Mertikopoulos P (2019) Fog based framework for iot service provisioning. In: 2019 16th IEEE Annual Consumer Communications & Networking Conference (CCNC). IEEE, pp 1–6

  10. Farzin P, Azizi S, Shojafar M, Rana O, Singhal M (2022) Flex: a platform for scalable service placement in multi-fog and multi-cloud environments. In: Australasian Computer Science Week 2022, pp 106–114

  11. Ghaemi S, Khazaei H, Musilek P (2020) Chainfaas: an open blockchain-based serverless platform. IEEE Access 8:131760–131778

    Article  Google Scholar 

  12. Ghobaei-Arani M, Shahidinejad A (2022) A cost-efficient iot service placement approach using whale optimization algorithm in fog computing environment. Expert Syst Appl 200(117):012

    Google Scholar 

  13. Ghosh N, Ghosh SK, Das SK (2015) Selcsp: a framework to facilitate selection of cloud service providers. IEEE Trans Cloud Comput 3(1):66–79

    Article  Google Scholar 

  14. Goudarzi M, Wu H, Palaniswami M, Buyya R (2020) An application placement technique for concurrent iot applications in edge and fog computing environments. IEEE Trans Mob Comput 20(4):1298–1311

    Article  Google Scholar 

  15. Grozev N, Buyya R (2014) Multi-cloud provisioning and load distribution for three-tier applications. ACM Trans Auton Adapt Syst (TAAS) 9(3):1–21

    Article  Google Scholar 

  16. Hartmanis J (1982) Computers and intractability: a guide to the theory of np-completeness (michael r. garey and david s. johnson). Siam Review 24(1):90

    Article  MathSciNet  Google Scholar 

  17. Hassan HO, Azizi S, Shojafar M (2020) Priority, network and energy-aware placement of iot-based application services in fog-cloud environments. IET Commun 14(13):2117–2129

    Article  Google Scholar 

  18. Hernández ÁB, Perez MS, Gupta S, Muntés-Mulero V (2018) Using machine learning to optimize parallelism in big data applications. Fut Gen Comput Syst 86:1076–1092

    Article  Google Scholar 

  19. Hudson N, Khamfroush H, Lucani DE (2021) Qos-aware placement of deep learning services on the edge with multiple service implementations. Preprint arXiv:2104.15094 (2021)

  20. Iyer GN, Raman V, Aswin K, Veeravalli B (2020) On the strategies for risk aware cloud and fog broker arbitrage mechanisms. In: 2020 Fourth International Conference on Computing Methodologies and Communication (ICCMC). IEEE, pp 794–799

  21. Javed B, Bloodsworth P, Rasool RU, Munir K, Rana O (2016) Cloud market maker: an automated dynamic pricing marketplace for cloud users. Fut Gen Comput Syst 54:52–67

    Article  Google Scholar 

  22. Jonas E, Schleier-Smith J, Sreekanti V, Tsai CC, Khandelwal A, Pu Q, Shankar V, Carreira J, Krauth K, Yadwadkar N, et al (2019) Cloud programming simplified: a berkeley view on serverless computing. Preprint arXiv:1902.03383

  23. Kassab W, Darabkh KA (2020) A-z survey of internet of things: architectures, protocols, applications, recent advances, future directions and recommendations. J Netw Comput Appl 163(102):663

    Google Scholar 

  24. Liu L, Zhang M, Buyya R, Fan Q (2017) Deadline-constrained coevolutionary genetic algorithm for scientific workflow scheduling in cloud computing. Concurr Comput Pract Exp 29(5):e3942

    Article  Google Scholar 

  25. Luo J, Yin L, Hu J, Wang C, Liu X, Fan X, Luo H (2019) Container-based fog computing architecture and energy-balancing scheduling algorithm for energy iot. Fut Gen Comput Syst 97:50–60

    Article  Google Scholar 

  26. Mahmud R, Kotagiri R, Buyya R (2018) Fog computing: a taxonomy, survey and future directions. In: Internet of Everything. Springer, pp 103–130

  27. Mahmud R, Ramamohanarao K, Buyya R (2019) Edge affinity-based management of applications in fog computing environments. In: 12th IEEE/ACM International Conference on Utility and Cloud Computing. IEEE/ACM, pp 61–70

  28. Mahmud R, Ramamohanarao K, Buyya R (2020) Application management in fog computing environments: a taxonomy, review and future directions. ACM Comput Surv (CSUR) 53(4):1–43

    Article  Google Scholar 

  29. Mahmud R, Srirama SN, Ramamohanarao K, Buyya R (2020) Profit-aware application placement for integrated fog-cloud computing environments. J Parallel Distrib Comput 135:177–190

    Article  Google Scholar 

  30. Maia AM, Ghamri-Doudane Y, Vieira D, de Castro MF (2021) An improved multi-objective genetic algorithm with heuristic initialization for service placement and load distribution in edge computing. Comput Netw 194(108):146

    Google Scholar 

  31. Mukherjee M, Shu L, Wang D (2018) Survey of fog computing: fundamental, network applications, and research challenges. IEEE Commun Surv Tutor 20(3):1826–1857

    Article  Google Scholar 

  32. Nanda A, Puthal D, Rodrigues JJ, Kozlov SA (2019) Internet of autonomous vehicles communications security: overview, issues, and directions. IEEE Wirel Commun 26(4):60–65

    Article  Google Scholar 

  33. Natesha B, Guddeti RMR (2018) Heuristic-based iot application modules placement in the fog-cloud computing environment. In: 2018 IEEE/ACM International Conference on Utility and Cloud Computing Companion (UCC Companion). IEEE, pp 24–25

  34. Natesha B, Guddeti RMR (2021) Adopting elitism-based genetic algorithm for minimizing multi-objective problems of iot service placement in fog computing environment. J Netw Comput Appl 178(102):972

    Google Scholar 

  35. Nayeri ZM, Ghafarian T, Javadi B (2021) Application placement in fog computing with ai approach: taxonomy and a state of the art survey. J Netw Comput Appl:103078

  36. Number of Internet of Things (IoT) connected devices worldwide from 2019 to 2030. https://www.statista.com/statistics/1183457/iot-connected-devices-worldwide/. Accessed 05 Sept 2021

  37. Omer S, Azizi S, Shojafar M, Tafazolli R (2021) A priority, power and traffic-aware virtual machine placement of iot applications in cloud data centers. J Syst Arch 115(101):996

    Google Scholar 

  38. Qi J, Yang P, Min G, Amft O, Dong F, Xu L (2017) Advanced internet of things for personalised healthcare systems: a survey. Pervasive Mob Comput 41:132–149

    Article  Google Scholar 

  39. Sami H, Mourad A (2020) Dynamic on-demand fog formation offering on-the-fly iot service deployment. IEEE Trans Netw Serv Manage 17(2):1026–1039

    Article  Google Scholar 

  40. Shi W, Cao J, Zhang Q, Li Y, Xu L (2016) Edge computing: vision and challenges. IEEE Internet Things J 3(5):637–646

    Article  Google Scholar 

  41. 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 

  42. Skarlat O, Schulte S (2021) Fogframe: a framework for iot application execution in the fog. PeerJ Comput Sci 7:e588

    Article  Google Scholar 

  43. Skarlat O, Schulte S, Borkowski M, Leitner P (2016) Resource provisioning for iot services in the fog. In: 2016 IEEE 9th International Conference on Service-Oriented Computing and Applications (SOCA). IEEE, pp 32–39

  44. Sonkoly B, Czentye J, Szalay M, Németh B, Toka L (2021) Survey on placement methods in the edge and beyond. IEEE Commun Surv Tutor

  45. Sriraghavendra M, Chawla P, Wu H, Gill SS, Buyya R (2022) Dosp: a deadline-aware dynamic service placement algorithm for workflow-oriented iot applications in fog-cloud computing environments. In: Energy Conservation Solutions for Fog-Edge Computing Paradigms. Springer, pp 21–47

  46. Sterz A, Felka P, Simon B, Klos S, Klein A, Hinz O, Freisleben B (2022) Multi-stakeholder service placement via iterative bargaining with incomplete information. IEEE/ACM Trans Netw

  47. Tasiopoulos A, Ascigil O, Psaras I, Toumpis S, Pavlou G (2019) Fogspot: spot pricing for application provisioning in edge/fog computing. IEEE Trans Serv Comput

  48. ur Rehman MH, Yaqoob I, Salah K, Imran M, Jayaraman PP, Perera C (2019) The role of big data analytics in industrial internet of things. Fut Gen Comput Syst 99:247–259

    Article  Google Scholar 

  49. Velasquez K, Abreu DP, Paquete L, Curado M, Monteiro E (2020) A rank-based mechanism for service placement in the fog. In: 2020 IFIP Networking Conference (Networking). IEEE, pp 64–72

  50. Wang L, Deng X, Gui J, Chen X, Wan S (2023) Microservice-oriented service placement for mobile edge computing in sustainable internet of vehicles. IEEE Trans Intell Transp Syst

  51. 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 Arch 98:289–330

    Article  Google Scholar 

  52. Yousefpour A, Patil A, Ishigaki G, Kim I, Wang X, Cankaya HC, Zhang Q, Xie W, Jue JP (2019) Fogplan: a lightweight qos-aware dynamic fog service provisioning framework. IEEE Internet Things J 6(3):5080–5096

    Article  Google Scholar 

  53. Zeinab KAM, Elmustafa SAA (2017) Internet of things applications, challenges and related future technologies. World Sci News 2(67):126–148

    Google Scholar 

  54. Zikria YB, Ali R, Afzal MK, Kim SW (2021) Next-generation internet of things (iot): opportunities, challenges, and solutions. Sensors 21(4):1174

    Article  Google Scholar 

Download references

Funding

No funding was received for conducting this study.

Author information

Authors and Affiliations

Authors

Contributions

SA conceived of the presented idea. SA and PF wrote the original draft. SA, MS and OR shaped the research and commented on the manuscript. PFn made the simulations. All authors reviewed the manuscript.

Corresponding author

Correspondence to Sadoon Azizi.

Ethics declarations

Competing interests

The authors have no competing interests to declare that are relevant to the content of this article.

Ethical approval

This manuscript has not been published and is not under consideration for publication elsewhere.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Azizi, S., Farzin, P., Shojafar, M. et al. A scalable and flexible platform for service placement in multi-fog and multi-cloud environments. J Supercomput 80, 1109–1136 (2024). https://doi.org/10.1007/s11227-023-05520-9

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05520-9

Keywords

Navigation