Skip to main content
Log in

Stochastic models for performance and cost analysis of a hybrid cloud and fog architecture

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

Abstract

Cloud computing is attractive to business owners and allows enterprises to start from the small and increase resources only when there is a rise in service demand, but cloud may become expensive. Fog computing has many advantages, and it is suited for the applications whereby real time is very important, but fog resources may also be highly limited. The cloud and fog computing may perform tasks together to attend different types of applications and mitigate their limitations. However, taking into account variables such as latency, workload and computational capacity, it becomes complex to define under what circumstances it is more advantageous to use the cloud layer or the fog. This paper proposes a stochastic Petri net to model such a scenario by considering cloud and fog. The model permits to configure 12 parameters including, for example, the number of available resources, workload and mean requests arrival time. We present a case study using a classical big data algorithm to validate the model. The case study is a practical guide to infrastructure administrators to adjust their architectures by finding the trade-off between cost and performance.

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

Notes

  1. Urban Population Forecast: https://tinyurl.com/y8opsvrs.

  2. Word Count Algorithm https://tinyurl.com/y8hofs5x.

  3. kWh Price https://tinyurl.com/yay7yyev.

  4. One-sample T test https://tinyurl.com/yanthw4e.

References

  1. Aazam M, Huh E-N (2014) Fog computing and smart gateway based communication for cloud of things. In: 2014 International Conference on Future Internet of Things and Cloud (FiCloud). IEEE, pp 464–470

  2. Almutairi LM, Shetty S (2017) Generalized stochastic petri net model based security risk assessment of software defined networks. In: Proceedings of IEEE MILCOM

  3. Amarasinghe G, de Assunção MD, Harwood A, Karunasekera S (2018) A data stream processing optimisation framework for edge computing applications. In: Proceedings of IEEE ISORC

  4. Baccarelli E, Naranjo PGV, Scarpiniti M, Shojafar M, Abawajy JH (2017) Fog of everything: energy-efficient networked computing architectures, research challenges, and a case study. IEEE Access 5:9882–9910

    Article  Google Scholar 

  5. Borthakur D, Dubey H, Constant N, Mahler L, Mankodiya K (2017) Smart fog: fog computing framework for unsupervised clustering analytics in wearable internet of things. In: Proceedings of IEEE GlobalSIP

  6. Computing F (2015) The internet of things: extend the cloud to where the things are. Cisco White Paper

  7. da Silva FAP, Neto PAdMS, Garcia VC, Assad RE, Trinta FAM (2012) Accounting models for cloud computing: a systematic mapping study. In: Proceedings of 8th International Conference on Grid Computing and Applications (GCA)

  8. Dimitrios T, Helen K (2018) Simulation and performance evaluation of a fog system. In: Proceedings of IEEE FMEC

  9. Haider F, Zhang D, St-Hilaire M, Makaya C (2018) On the planning and design problem of fog computing networks. IEEE Trans Cloud Comput 15:24–38

    Google Scholar 

  10. He J, Wei J, Chen K, Tang Z, Zhou Y, Zhang Y (2018) Multitier fog computing with large-scale iot data analytics for smart cities. IEEE Internet Things J 5(2):677–686

    Article  Google Scholar 

  11. Jain R (1990) The art of computer systems performance analysis: techniques for experimental design, measurement, simulation, and modeling. Wiley, New York

    Google Scholar 

  12. Labadi K, Benarbia T, Barbot J, Hamaci S, Omari A (2015) Stochastic petri net modeling, simulation and analysis of public bicycle sharing systems. IEEE Trans Autom Sci Eng 12(4):1380–1395

    Article  Google Scholar 

  13. Li H, Ota K, Dong M (2018) Learning IoT in edge: deep learning for the internet of things with edge computing. IEEE Netw 32(1):96–101

    Article  Google Scholar 

  14. Li P, Yang C, Xu H, LAU TF, Wang R (2017) User behaviour authentication model based on stochastic petri net in cloud environment. In: Proceedings of Springer International Symposium on Parallel Architecture, Algorithm and Programming

  15. Li Y, Orgerie A, Rodero I, Parashar M, Menaud J (2017) Leveraging renewable energy in edge clouds for data stream analysis in IoT. In: Proceedings of IEEE/ACM CCGRID

  16. Little JD (1961) A proof for the queuing formula: L= \(\lambda \) w. Oper Res 9(3):383–387

    Article  MathSciNet  Google Scholar 

  17. Marsan A (1995) Modelling with generalized stochastic Petri nets. Wiley series in parallel computing. Wiley, New York

    Google Scholar 

  18. Marsan MA, Balbo G, Conte G, Donatelli S, Franceschinis G (1998) Modelling with generalized stochastic petri nets. ACM SIGMETRICS Perform Eval Rev 26(2):2

    Article  Google Scholar 

  19. Mehta A, Tärneberg W, Klein C, Tordsson J, Kihl M, Elmroth E (2016) How beneficial are intermediate layer data centers in mobile edge networks? In: Proceedings of IEEE FAS*W

  20. Murata T (1989) Petri nets: properties, analysis and applications. Proc IEEE 77(4):541–580

    Article  Google Scholar 

  21. Ni L, Zhang J, Jiang C, Yan C, Yu K (2017) Resource allocation strategy in fog computing based on priced timed petri nets. IEEE Internet Things J 4(5):1216–1228

    Article  Google Scholar 

  22. Perera C, Qin Y, Estrella J C, Reiff-Marganiec S, Vasilakos A V (2017) Fog computing for sustainable smart cities: a survey. ACM Comput Surv 50(3):32:1–32:43

    Article  Google Scholar 

  23. Santos GL, Takako Endo P, da Silva Lisboa Tigre M F Ferreira, da Silva L G Ferreira, Sadok D, Kelner J, Lynn T (2018) Analyzing the availability and performance of an e-health system integrated with edge, fog and cloud infrastructures. J Cloud Comput 7(1):16

    Article  Google Scholar 

  24. Silva FA, Maciel P, Matos R (2015) Smartrank: a smart scheduling tool for mobile cloud computing. J Supercomput 71(8):2985–3008

    Article  Google Scholar 

  25. Silva FA, Zaicaner G, Quesado E, Dornelas M, Silva B, Maciel P (2016) Benchmark applications used in mobile cloud computing research: a systematic mapping study. J Supercomput 72(4):1431–1452

    Article  Google Scholar 

  26. Souza VB, Masip-Bruin X, Marin-Tordera E, Ramirez W, Sanchez S (2016) Towards distributed service allocation in fog-to-cloud (f2c) scenarios. In: Proceedings of IEEE GLOBECOM

  27. Sunyaev A (2020) Fog and edge computing. In: Internet Computing. Springer, pp 237–264

  28. Trivedi K (2002) Probability and statistics with reliability, queueing, and computer science applications, 2nd edn. Wiley Interscience Publication, New York

    Google Scholar 

  29. Vilalta R, Vía S, Mira F, Casellas R, Muñoz R, Alonso-Zarate J, Kousaridas A, Dillinger M (2018) Control and management of a connected car using sdn/nfv, fog computing and yang data models. In: Proceedings of IEEE NetSoft

  30. Walker E (2009) The real cost of a CPU hour. Computer 42(4):35–41

    Article  Google Scholar 

  31. Wang G, Ng TE (2010) The impact of virtualization on network performance of amazon ec2 data center. In: Proceedings of IEEE Infocom

  32. Xu Y, Mahendran V, Guo W, Radhakrishnan S (2017) Fairness in fog networks: achieving fair throughput performance in MQTT-based IoTs. In: Proceedings of IEEE CCNC

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Francisco Airton Silva.

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

Silva, F.A., Fé, I. & Gonçalves, G. Stochastic models for performance and cost analysis of a hybrid cloud and fog architecture. J Supercomput 77, 1537–1561 (2021). https://doi.org/10.1007/s11227-020-03310-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-020-03310-1

Keywords

Navigation