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.
Similar content being viewed by others
Notes
Urban Population Forecast: https://tinyurl.com/y8opsvrs.
Word Count Algorithm https://tinyurl.com/y8hofs5x.
kWh Price https://tinyurl.com/yay7yyev.
One-sample T test https://tinyurl.com/yanthw4e.
References
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
Almutairi LM, Shetty S (2017) Generalized stochastic petri net model based security risk assessment of software defined networks. In: Proceedings of IEEE MILCOM
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
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
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
Computing F (2015) The internet of things: extend the cloud to where the things are. Cisco White Paper
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)
Dimitrios T, Helen K (2018) Simulation and performance evaluation of a fog system. In: Proceedings of IEEE FMEC
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
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
Jain R (1990) The art of computer systems performance analysis: techniques for experimental design, measurement, simulation, and modeling. Wiley, New York
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
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
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
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
Little JD (1961) A proof for the queuing formula: L= \(\lambda \) w. Oper Res 9(3):383–387
Marsan A (1995) Modelling with generalized stochastic Petri nets. Wiley series in parallel computing. Wiley, New York
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
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
Murata T (1989) Petri nets: properties, analysis and applications. Proc IEEE 77(4):541–580
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
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
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
Silva FA, Maciel P, Matos R (2015) Smartrank: a smart scheduling tool for mobile cloud computing. J Supercomput 71(8):2985–3008
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
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
Sunyaev A (2020) Fog and edge computing. In: Internet Computing. Springer, pp 237–264
Trivedi K (2002) Probability and statistics with reliability, queueing, and computer science applications, 2nd edn. Wiley Interscience Publication, New York
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
Walker E (2009) The real cost of a CPU hour. Computer 42(4):35–41
Wang G, Ng TE (2010) The impact of virtualization on network performance of amazon ec2 data center. In: Proceedings of IEEE Infocom
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
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
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
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-020-03310-1