(Received: 20-Nov.-2020, Revised: 11-Feb.-2021 , Accepted: 23-Feb.-2021)
Enhancing the IoT health monitoring systems used in various environments, such as smart homes and smart hospitals, imply lively analyzing the patients’ critical streams (e.g. ECG stream). Conducting these tele-health applications over the traditional cloud violates the deadline constrains of the stream analytics applications, which results not only in performance degradation, but also in inaccurate analytics results due to patient's stream loss. Fog computing can take place within the patient's vicinity and is considered as the best candidate for critically analyzed stream applications. Fog nodes are geo-distributed and are poor in resources, thus a scalable and fault-tolerant resource management platform for stream analytics in fog computing is a must. Current Stream Processing (SP) resource managers are designed for massive resource nodes, deploying them over the poor resource edge fog nodes greatly decreasing the fog infrastructure utilization. Innovative SP resource managers that cope with the fog nature are needed. We propose Fog Assisted Resource Management (FARM) platform based on Apache Hadoop2 resource manager (YARN) for compatible stream/batch analytics. Static FARM (S-FARM) represents two YARN schedulers; per-user and per-module. Results indicate that per- user scheduler overcomes the lack of resources issues of the edge fog nodes, fully utilizes the fog infrastructure and allows the system to expand safely up to its double size. In addition, Differentiated S-FARM scheduler is proposed to support per-user control to the analytic results' accuracy and speed. Stream CardioVascular Disease (S-CVD) application for patient's ECG analytics is simulated in iFogSim to judge the proposed YARN schedulers. The research is pioneer in enhancing the poor resource edge fog node utilization, supporting per- user control to live big data analytics IoT applications and utilizing iFogSim to implement and evaluate the resource manager performance of a stream analytics platform.

[1] F. A. Kraemer, A. E. Braten, N. Tamkittikhun and D. Palma, "Fog Computing in Healthcare: A Review and Discussion," IEEE Access, vol. 5, pp. 9206–9222, 2017.

[2] R. A. Shehab, M. Taher and H. K. Mohamed, "Fog Enabled Health Informatics System for Critically Controlled Cardiovascular Disease Applications," Proceedings of the International Conference on Health Informatics & Medical Systems, pp. 35-41, ISBN: 1-60132-500-2, Copyright ' 2019 CSREA Press, United States of America, 2019.

[3] K. H. Abdulkareem, M. A. Mohammed, S. S. Gunasekaran, M. N. Al-Mhiqani, A. A. Mutlag, S. A. Mostafa, N. S. Ali and D. A. Ibrahim, "A Review of Fog Computing and Machine Learning: Concepts, Applications, Challenges and Open Issues, " IEEE Access, vol. 7, pp. 153123–153140, 2019.

[4] S. Parveen, P. Singh and D. Arora, "Fog Computing Research Opportunities and Challenges: A Comprehensive Survey," Proceedings of the 1st International Conference on Computing, Communications and Cyber-Security (IC4S 2019), Part of the Lecture Notes in Networks and Systems Book Series LNNS, vol. 121, pp. 171–181, DOI: 10.1007/978-981-15-3369-3_13, Springer Singapore, 2020.

[5] R. A. Shehab, M. Taher and H. K. Mohamed, "Resource Management Challenges in the Next Generation Cloud Based Systems: A Survey and Research Directions," Proc. of the 13th International Conference on Computer Engineering and Systems (ICCES), pp. 139–144, Cairo, Egypt, Dec. 2018.

[6] A. A. Mutlag, M. K. Abd Ghani, N. Arunkumar, M. A. Mohammed and O. Mohd, "Enabling Technologies for Fog Computing in Healthcare IoT Systems," Future Generation Computer Systems, vol. 90, pp. 62 – 78, 2019.

[7] A. A. Mutlag, M. Khanapi Abd Ghani, M. A. Mohammed, M. S. Maashi, O. Mohd, S. A. Mostafa, K. H. Abdulkareem, G. Marques and I. de la Torre D´ıez, "MAFC: Multi-agent Fog Computing Model for Healthcare Critical Tasks Management," Sensors, vol. 20, no. 7, Article no. 1853, DOI: 10.3390/s20071853, 2020.

[8] H. Gupta, A. Vahid, A. Dastjerdi, S. K. Ghosh and R. Buyya, "IFOGSIM: A Toolkit for Modeling and Simulation of Resource Management Techniques in the Internet of Things, Edge and Fog Computing Environments," Software: Practice and Experience, vol. 47, no. 9, pp. 1275–1296, 2017.

[9] M. Marjani, F. Nasaruddin, A. Gani, A. Karim, I. A. T. Hashem, A. Siddiqa and I. Yaqoob, "Big IoT Data Analytics: Architecture, Opportunities and Open Research Challenges," IEEE Access, vol. 5, pp. 5247–5261, 2017.

[10] H. Dubey, J. Yang, N. Constant, A. M. Amiri, Q. Yang and K. Makodiya, "Fog Data: Enhancing Tele- health Big Data through Fog Computing," Proceedings of the ASE Big Data & Social Informatics, DOI: 10.1145/2818869.2818889, New York, USA, Association for Computing Machinery, 2015.

[11] S. K. Sharma and X. Wang, "Live Data Analytics with Collaborative Edge and Cloud Processing in Wireless IoT Networks," IEEE Access, vol. 5, pp. 4621–4635, 2017.

[12] X. Liu, A. Dastjerdi and R. Buyya, "Chapter 8 - Stream Processing in IoT: Foundations, State-of-the-art and Future Directions," Internet of Things By: R. Buyya and A. V. Dastjerdi, Eds., pp. 145 – 161, Morgan Kaufmann, 2016.

[13] S. Kamburugamuve and G. C. Fox, "Survey of Distributed Stream Processing for Large Stream Sources," Proc. of SPIDAL: CIF21 DIBBs: Middleware and High Performance Analytics Libraries for Scalable Data Science, DOI: 10.13140/RG.2.1.3856.2968, 2016.

[14] Apache Storm, "Storm Apache," [Online], Available:

[15] Apache Spark, "Spark Apache," [Online], Available:

[16] Apache Samza, "Samza Apache," [Online], Available:

[17] Apache Flink, "Flink Apache," [Online], Available:

[18] Apache Hadoop, "Apache Hadoop," [Online], Available:

[19] Edureka, "Hadoop Tutorials," [Online], Available:

[20] V. Cardellini, V. Grassi, F. L. Presti and M. Nardelli, "On QoS-aware Scheduling of Data Stream Applications over Fog Computing Infrastructures," Proc. of the IEEE Symposium on Computers and Communication (ISCC), pp. 271–276, Larnaca, Cyprus, July 2015.

[21] A. Papageorgiou, E. Poormohammady and B. Cheng, "Edge-Computing-Aware Deployment of Stream Processing Tasks Based on Topology-external Information: Model, Algorithms and A Storm-based Prototype," Proc. of the IEEE International Congress on Big Data (BigData Congress), pp. 259–266, San Francisco, USA, June 2016.

[22] L. Aniello, R. Baldoni and L. Querzoni, "Adaptive Online Scheduling in Storm," Proceedings of the 7th ACM International Conference on Distributed Event based Systems, (DEBS 13), pp. 207–218, New York, USA, ACM, 2013.

[23] C. Hochreiner, M. Vogler, S. Schulte and S. Dustdar, "Elastic Stream Processing for the Internet of Things," Proceedings of the IEEE 9th International Conference on Cloud Computing (CLOUD), pp. 100–107, San Francisco, USA, June 2016.

[24] N. Maleki, M. Loni, M. Daneshtalab, M. Conti and H. Fotouhi, "SoFA: A Spark-oriented Fog Architecture," Proc. of the 45th Annual Conference of the IEEE Industrial Electronics Society (IECON 2019), vol. 1, pp. 2792–2799, Lisbon, Portugal, 2019.

[25] T. N. Gia, M. Jiang, A. Rahmani, T. Westerlund, P. Liljeberg and H. Tenhunen, "Fog Computing in Healthcare Internet of Things: A Case Study on ECG Feature Extraction," Proc. of the IEEE International Conference on Computer and Information Technology; Ubiquitous Computing and Communications; Dependable, Autonomic and Secure Computing; Pervasive Intelligence and Computing, pp. 356–363, Liverpool, UK, Oct. 2015.

[26] H. Chen and H. Liu, "A Remote Electrocardiogram Monitoring System with Good Swiftness and High Reliability," Computers & Electrical Engineering, vol. 53, pp. 191 – 202, 2016.

[27] K. Wac, M. S. Bargh, B. F. V. Beijnum, R. G. A. Bults, P. Pawar and A. Peddemors, "Power -and delay- Awareness of Health Telemonitoring Services: The Mobihealth System Case Study," IEEE Journal on Selected Areas in Communications, vol. 27, pp. 525–536, May 2009.

[28] X. Masip-Bruin, E. Mar´ın-Tordera, A. Alonso and J. Garcia, "Fog-to-cloud Computing (F2C): The Key Technology Enabler for Dependable e-Health Services Deployment," Proc. of the Mediterranean Ad Hoc Networking Workshop (Med-Hoc-Net), pp. 1–5, Vilanova i la Geltru, Spain, June 2016.

[29] C. Rotariu, V. Manta and H. Costin, "Wireless Remote Monitoring System for Patients with Cardiac Pacemakers," Proc. of the International Conference and Exposition on Electrical and Power Engineering, pp. 845–848, Iasi, Romania, Oct. 2012.

[30] G. W. Nkabinde, "Big Data Stream Computing in Healthcare Real-time Analytics," Proc. of the IEEE International Conference on Cloud Computing and Big Data Analysis (ICCCBDA), pp. 37–42, Chengdu, China, July 2016.

[31] E. Badidi and K. Moumane, "Enhancing the Processing of Healthcare Data Streams Using Fog Computing," Proc. of the IEEE Symposium on Computers and Communications (ISCC), pp. 1113– 1118, Barcelona, Spain, 2019. 

[32] L. Greco, P. Ritrovato and F. Xhafa, "An Edge-stream Computing Infrastructure for Real-time Analysis of Wearable Sensors Data," Future Generation Computer Systems, vol. 93, pp. 515 – 528, 2019.