Implementing a Web-based Application for Analysis and Evaluation of Heart Rate Variability Using Serverless Architecture

Mitko M. Gospodinov, Evgeniya Gospodinova


This article is devoted to the development of a web-based application for analysis and evaluation of Heart Rate Variability (HRV) using serverless architecture. Advancements in information algorithms and computing technologies have been playing an increasingly important role in cardiology, as continuous monitoring of patients’ health can be vital to their well-being.  One physiological parameter that can be easily measured and that can provide indispensable insight into the state of the human body is the HRV.  HRV analysis can assess not only the physiological state of the body but also provide the capability to monitor its dynamics and predict future diseases. As the research in the sphere of cardiology is constantly growing there is a multitude of new ways to assess the physiological state of patients and provide an early indicator to pathological conditions. Therefore, there is a need to bring these advances to a growing number of end-users (health-care professionals and patients) in the shortest possible time. To address this problem, this study proposes the development of a web-based application for analysis and evaluation of HRV by applying linear and nonlinear mathematical methods. The application is created using a serverless architectural approach, which allows for fast development time, as there is no need to manage server infrastructure, and for automatic scaling to dynamically match the number of requests. The developer can instead focus on implementing the logic for the HRV analysis algorithms and deliver new improvements at a faster rate. The proposed web application can be accessed by any device that is connected to the Internet and is optimized to handle both an intermittent and a consistent volume of requests. The algorithms implemented in the web application have been validated by examining two groups of subjects (young adults and older adults) using linear and non-linear models. The obtained results from the two groups can be compared with a set of reference values (only for the linear methods) and an assessment can be made whether each studied parameter is within the normal range or outside it (its value is too high or too low). To aid the assessment for HRV, the results obtained by the linear and nonlinear analysis are presented using a set of both graphs and tables.


web-based application; serverless architecture, heart rate variability; time-domain analysis; frequency-domain analysis; nonlinear analysis.

Full Text:



M. D. Costa, R. B. Davis, A. L. Goldberger, “Heart Rate Fragmentation: A New Approach to the Analysis or Cardiac Interbeat Internal Dynamicsâ€, Frontiers in Psychology, 8:255, 2017.

U. R. Acharya, K. P. Joseph, N. Kannathal, C. M. Lim,and J. S. Suri, “Heart rate variability: a reviewâ€, Medical & Biological Engineering & Computing, vol. 44 (12), pp. 1031–1051, 2006.

G. Ernst, Heart Rate Variability, London: Springer-Verlag, 2014.

M. V. Kamath, M. A. Watanabe, A. R. M. Upton (Eds.), Heart Rate Variability (HRV) Signal Analysis: Clinical Applications, 1st ed., CRC Press Taylor&Francis Group, 2016.

S. Laborde, E. Mosley and J. F. Thayer, “Heart Rate Variability and Cardiac Vagal Tone in Psychophysiological Research– Recommendations for Experiment Planning, Data Analysis, and Data Reportingâ€, Frontiers in Psychology, 8:213, 2017.

Heart Rate Variability: Standards of Measurement, Physiological Interpretation, and Clinical Use, Task Force of the European Society of Cardiology and the North American Society for Pacing and Electrophysiology, European Heart Journal, vol. 17, pp. 354-381, 1996.

(2019) M.P. Tarvainen, J. Lipponen, J.-P. Niskanen, P. O. Ranta-aho, “Kubios (ver. 3.3)â€, User’s guide. [Online]. Available:

L. Mourot, “CODESNA_HRV, a new tool to assess the activity of the autonomic nevrous system from heart rate variabilityâ€, Physical Medicine and Rehabilitation Research, vol. 3(1), pp. 1-6, 2018.

R. Bartels, L. Neumamm, T. Pecanha, S. Carvalho,†SinusCor: an advanced tool for heart rate variability analysisâ€, BioMed. Eng. OnLine, vol. 16(1), pp. 110-124, 2017.

L. Rodrá½·guez-Liñres, M.J. Lado, X.A. Vila, A.J. Méndz, P.Guesta, “gHRV: Heart Rate Variability analysis made easyâ€, Computer Methods and Programs in Biomedicine, vol. 116(1), pp. 26-38, 2014.

C.A.G. Martínez, A.O. Quintana, X.A. Vila, M.J.L. Touriño, L. Rodríguez-Liñares, J.M.R. Presedo, A.J.M. Penín, Heart Rate Variability Analysis with the R package RHRV, Springer International Publishing, 2017.

(2019) HeartMath Institute. [Online]. Available:

S. Pandey, W. Voorsluys, S. Niu, A. Khandoker and R. Buyya, “An autonomic cloud environment for hosting ECG data analysis servicesâ€, Future Generation Computer Systems, vol. 28, pp. 147-154, 2012.

A. Kalinichenko, S. Motorina, “Algorithms for ECG Analysis in Mobile Cardiac Monitoring Systemsâ€, in Proc. of the 20th Conference of Open Innovations Association, pp. 112-117, April 2017.

O. Barquero-Pérez, T. Quintanilla, J. Garía-Muñoz, C. Soguero-Ruiz, M.R. Wilby, M de la Rosa, M Cabañas, I. Bravo, A. García-Alberola and J. L. Rojo-Ãlvarez, “eLab: A Web-based Platform to Perform HRV and HRT Analysis and Store Cardiac Signalsâ€, Computing in Cardiology, vol. 40, pp. 21-24, 2013.

J. Mohammed, C. H. Lung, A. Ocneanu, A. Thakral, C. Jones and A. Adler, “Internet of Things: Remote patient monitoring using web services and cloud computing†, IEEE International Conference on Internet of Things (iThings), and IEEE Green Computing and Communications (GreenCom), and IEEE Cyber, Physical and Social Computing (CPSCom), Taipei, pp. 256-263, 2014.

R. N. Kirtana and Y. V. Lokeswari, “An IoT Based Remote HRV Monitoring System for Hypertensive Patientsâ€, International Conference on Computer, Communication, and Signal Processing (ICCCSP), Chennai, India, pp. 1-6, 2017.

J. García, J. D. Trigo, A. Alesanco, P. Serrano, J. Mateo, R. S. Istepatian, “Design and evaluation of wireless decision-support system for heart rate variability study in haemodialysis follow-up proceduresâ€, Computer Methods and Programs in Biomedicine, vol. 88(3), pp. 273-282, 2007.

I. E. Akkus, R. Chen, I. Rimac, M. Stein, K. Satzke, A. Beck, P. Aditya, and V. Hilt, “SAND:Towards high-performance serverless computingâ€, In Proc. USENIX Annual Technical Conference, 2018, pp. 923-935.

E. Oakes, L. Yang, D. Zhou, and K. Houck, T. Harter, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau, “SOCK: Rapid task provisioning with serverless-optimized containersâ€, In Proc. USENIX Annual Technical Conference, 2018, pp. 57-69.

B. Liston. 2017 (Update 2018) Resize Images on the Fly with AmazonS3, AWS Lambda, and Amazon API Gateway. [Online]. Available:

S. Hendrickson, S. Sturdevant, T. Harter, V. Venkataramani, A. C. Arpaci-Dusseau, and R. H. Arpaci-Dusseau, “Serverless Computation with OpenLambda,†in Proc. 8th USENIX Workshop Hot Topics Cloud Computing (HotCloud), 2016, pp. 33–39.

M. Roberts. (2018). Serverless Architectures. [Online]. Available:

E. Eyk, A. Iosup, S.Seif, M. Thömmes, “The SPEC Cloud Group’s Research Vision onFaaS and Serverless Architecturesâ€, in Proceedings of the 2nd International Workshop on Serverless Computing WoSC’17, 2017.

T. Taylor, “Top 8 tools to use when working with serverless computingâ€, TechGenix, 2018.

P. Aditya, I.E. Akkus, A. Beck, R. Chen, V. Hilt, I. Rimac, K. Satzke and M. Stein, “Will Serverless Computing Revolutionize NFV?â€, Proceedings of the IEEE, vol. 107, No. 4, pp. 667-678, 2019.

K&C Team, “Serverless Architecture for Modern Apps: Stacks Providers&Caveatsâ€, October 9, 2018 (Updated:April 19, 2019).

D. Poccia, AWS Lambda in Action, Manning Publicatios Co, 2017.

C. Gurturk, Building Serverless Architectures, Birmingham, UK: Packt Publishing, 2017.

M. Martinis, A. Knežević, G. KrstaÄić, and E. Vargović, “Changes in the Hurst exponent of heart beat intervals during physical activitiesâ€, Physical Review E, vol. 70(1), Art. No.012903, July 2004.

H. Salat, R. Murcio, E. Arcaute, “Multifractal methodologyâ€, Physica A: Statistical Mechanics and its Applications, vol. 473, pp. 467-487, May 2017.

C.-K. Peng, S.V. Buldyrev, S. Havlin, M. Simons, H.E. Stanley and A.L. Goldberger. “Mosaic Organization of DNA nucleotidesâ€, Physical Review E, vol. 49 (2), pp.1685-1689, 1994.

J.W. Kantelhardt, S.A. Zschiegner, E. Koscielny-Bunde, S. Havlin, A. Bunde, H.E. Stanley, “Multifractal detrended fluctuation analysis of nonstationary time seriesâ€, Physica A: Statistical Mechanics and its Applications, vol. 316 (1-4), pp. 87-114, 2002.



  • There are currently no refbacks.

Published by INSIGHT - Indonesian Society for Knowledge and Human Development