This study analyzes the efficacy of three data processing architectures: fog computing, cloud computing, and a hybrid fog-cloud computing framework within an Internet of Things (IoT) context. We evaluate the performance of machine learning methods regarding computation time, communication overhead, precision, and efficiency on IoT-based sensor data. The proposed hardware utilizes a Raspberry Pi as a fog node for local data processing and a cloud infrastructure for executing computationally intensive operations. Each architecture processes both raw and processed real-world IoT sensor data. The transformation procedure at the fog node compresses data, reducing its size and minimizing overhead during transmission to the cloud. The findings demonstrate that the hybrid architecture offers the best balance of execution speed, communication efficiency, and accuracy when compared to cloud-only and fog-only methods. The hybrid system leverages cloud computing capabilities and minimizes transmission costs by collecting data locally.
Keywords
IoT, Fog Computing, Cloud Computing, Hybrid Architecture, Machine Learning, Data Aggregation, Network Efficiency, Execution Time, Communication Costs, Energy Consumption, Data Transformation.
U. O. Matthew, O. Asuni, and L. O. Fatai, “Green Software Engineering Development Paradigm,” in Advances in systems analysis, software engineering, and high performance computing book series, 2024, pp. 281–294. doi: 10.4018/979-8-3693-3502-4.ch018.
O. I. Abiodun, E. O. Abiodun, M. Alawida, R. S. Alkhawaldeh, and H. Arshad, “A review on the security of the Internet of Things: Challenges and Solutions,” Wireless Personal Communications, vol. 119, no. 3, pp. 2603–2637, Mar. 2021, doi: 10.1007/s11277-021-08348-9.
E. M. Migabo, K. D. Djouani, and A. M. Kurien, “The narrowband Internet of Things (NB-IoT) resources management performance state of art, challenges, and opportunities,” IEEE Access, vol. 8, pp. 97658–97675, Jan. 2020, doi: 10.1109/access.2020.2995938.
X. Li, Y. Liu, H. Ji, H. Zhang, and V. C. M. Leung, “Optimizing resources allocation for FOG Computing-Based Internet of Things networks,” IEEE Access, vol. 7, pp. 64907–64922, Jan. 2019, doi: 10.1109/access.2019.2917557.
C. Mouradian, D. Naboulsi, S. Yangui, R. H. Glitho, M. J. Morrow, and P. A. Polakos, “A comprehensive survey on FoG Computing: State-of-the-Art and Research challenges,” IEEE Communications Surveys & Tutorials, vol. 20, no. 1, pp. 416–464, Nov. 2017, doi: 10.1109/comst.2017.2771153.
N. A. Angel, D. Ravindran, P. M. D. R. Vincent, K. Srinivasan, and Y.-C. Hu, “Recent advances in evolving computing paradigms: cloud, edge, and fog technologies,” Sensors, vol. 22, no. 1, p. 196, Dec. 2021, doi: 10.3390/s22010196.
N. Fernando, S. Shrestha, S. W. Loke, and K. Lee, “On Edge-Fog-Cloud collaboration and reaping its benefits: a heterogeneous Multi-Tier Edge Computing architecture,” Future Internet, vol. 17, no. 1, p. 22, Jan. 2025, doi: 10.3390/fi17010022.
S. Park and Y. Yoo, “Network Intelligence based on network state information for connected vehicles utilizing FOG computing,” Mobile Information Systems, vol. 2017, pp. 1–9, Jan. 2017, doi: 10.1155/2017/7479267.
Y. Chen, J. Zhao, Y. Wu, J. Huang, and X. Shen, “QOE-Aware Decentralized Task Offloading and Resource Allocation for End-Edge-Cloud Systems: A Game-Theoretical Approach,” IEEE Transactions on Mobile Computing, vol. 23, no. 1, pp. 769–784, Nov. 2022, doi: 10.1109/tmc.2022.3223119.
B. Ali, M. A. Pasha, S. U. Islam, H. Song, and R. Buyya, “A Volunteer-Supported FOG computing environment for Delay-Sensitive IoT applications,” IEEE Internet of Things Journal, vol. 8, no. 5, pp. 3822–3830, Sep. 2020, doi: 10.1109/jiot.2020.3024823.
P. Singh and R. Singh, “Energy-Efficient Delay-Aware task offloading in FOG-Cloud Computing System for IoT sensor applications,” Journal of Network and Systems Management, vol. 30, no. 1, Oct. 2021, doi: 10.1007/s10922-021-09622-8.
Q. Wang and S. Chen, “Latency‐minimum offloading decision and resource allocation for fog‐enabled Internet of Things networks,” Transactions on Emerging Telecommunications Technologies, vol. 31, no. 12, Jan. 2020, doi: 10.1002/ett.3880.
A. Khan, F. Ullah, D. Shah, M. H. Khan, S. Ali, and M. Tahir, “EcoTaskSched: a hybrid machine learning approach for energy-efficient task scheduling in IoT-based fog-cloud environments,” Scientific Reports, vol. 15, no. 1, Apr. 2025, doi: 10.1038/s41598-025-96974-9.
V. Chang et al., “A survey on intrusion detection Systems for fog and cloud computing,” Future Internet, vol. 14, no. 3, p. 89, Mar. 2022, doi: 10.3390/fi14030089.
X. Tong, M. Hamzei, and N. Jafari, “Towards Secure and Efficient data aggregation in Blockchain‐Driven IoT Environments: A Comprehensive and Systematic study,” Transactions on Emerging Telecommunications Technologies, vol. 36, no. 2, Feb. 2025, doi: 10.1002/ett.70061.
X. Xu, X.-Y. Li, P.-J. Wan, and S. Tang, “Efficient scheduling for periodic aggregation queries in multihop sensor networks,” IEEE/ACM Transactions on Networking, vol. 20, no. 3, pp. 690–698, Sep. 2011, doi: 10.1109/tnet.2011.2166165.
J. V. V. Sobral, J. J. P. C. Rodrigues, R. a. L. Rabêlo, J. Al-Muhtadi, and V. Korotaev, “Routing protocols for low power and lossy networks in internet of things applications,” Sensors, vol. 19, no. 9, p. 2144, May 2019, doi: 10.3390/s19092144.
I. Surenther, K. P. Sridhar, and M. K. Roberts, “Enhancing data transmission efficiency in wireless sensor networks through machine learning-enabled energy optimization: A grouping model approach,” Ain Shams Engineering Journal, vol. 15, no. 4, p. 102644, Jan. 2024, doi: 10.1016/j.asej.2024.102644.
I. Ahmad et al., “Adaptive and Priority-Based data Aggregation and scheduling model for wireless sensor network,” Knowledge-Based Systems, vol. 303, p. 112393, Aug. 2024, doi: 10.1016/j.knosys.2024.112393.
A. A. Alli and M. M. Alam, “SecOFF-FCIoT: Machine learning based secure offloading in Fog-Cloud of things for smart city applications,” Internet of Things, vol. 7, p. 100070, Jun. 2019, doi: 10.1016/j.iot.2019.100070.
CRediT Author Statement
The author reviewed the results and approved the final version of the manuscript.
Acknowledgements
Authors thank Reviewers for taking the time and effort necessary to review the manuscript.
Funding
No funding was received to assist with the preparation of this manuscript.
Ethics Declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Availability of Data and Materials
Data sharing is not applicable to this article as no new data were created or analysed in this study.
Author Information
Contributions
All authors have equal contribution in the paper and all authors have read and agreed to the published version of the manuscript.
Open Access This article is licensed under a Creative Commons Attribution NoDerivs is a more restrictive license. It allows you to redistribute the material commercially or non-commercially but the user cannot make any changes whatsoever to the original, i.e. no derivatives of the original work. To view a copy of this license, visit: https://creativecommons.org/licenses/by-nc-nd/4.0/
Cite this Article
Ali-Кhusein, “Efficient Data Transformation and Machine Learning Analytics in IoT Systems Using a Hybrid Fog Cloud Approach”, Elaris Computing Nexus, pp. 022-031, 10 April 2025, doi: 10.XXXXX/ECN/2025003.