Performance optimization of an R Shiny-based digital health dashboard for monitoring small and sick newborn care in low-resource hospital settings
Thomas, J.; Jenkins, G.; Chen, J.; Ogero, M.; Malla, L.; Hirschhorn, L. R.; Richards-Kortum, R.; Oden, Z. M.; Bohne, C.; Wainaina, J.
Show abstract
BackgroundDigital health dashboards can enhance health system performance by transforming routinely collected data into actionable insights for decision-making. In low-resource settings, however, their effectiveness depends not only on the relevance of indicators but also on system reliability within constrained digital infrastructure. Neonatal mortality remains a major global health challenge, with the highest burden in low- and middle-income countries, where many deaths are preventable through timely, evidence-based interventions. Continuous monitoring of care processes and outcomes is therefore essential. To support this need, we developed the NEST360 Implementation Tracker (NEST-IT) using R Shiny to support quality improvement across more than 100 hospitals in sub-Saharan Africa. As the platform scaled to over half a million records and increasing concurrent users, performance constraints emerged, particularly in hospitals with limited computing resources, threatening timely access to critical information. ObjectiveThis study aimed to describe optimization strategies applied to the NEST-IT dashboard and evaluate their impact before and after implementation. MethodsA structured optimization process was implemented following established R Shiny performance principles. Dashboard profiling was first conducted to identify key bottlenecks, after which targeted improvements were applied to improve efficiency and responsiveness. A quasi-experimental pre-post evaluation (December 2023-August 2024) assessed performance using three indicators: server processing time, visualization rendering time (VRT), and Time to First Byte (TTFB). Metrics were measured repeatedly during one-month baseline and post-optimization periods and summarized using mean values. ResultsFour primary bottlenecks were identified: delayed server responses, slow visualization rendering, inefficient data handling, and inconsistent device performance. Following optimization, interactive plot load time decreased from 10.1 to 2.7 {+/-} 0.6 seconds (73.3% improvement). Visualization rendering improved from 3.61 to 1.62 seconds, while server processing time fell from 2.3 {+/-} 0.7 to 0.8 {+/-} 0.3 seconds. TTFB improved from 1.9 {+/-} 0.4 to 0.6 {+/-} 0.2 seconds, and system uptime increased from 92.5% to 99.2%. ConclusionPerformance optimization substantially improved dashboard responsiveness, enabling timely access to critical neonatal information in resource-constrained hospital settings. The findings provide practical, evidence-based framework for improving the performance of R Shiny dashboards and demonstrate scalable strategies for delivering reliable digital decision-support tools in low-resource health systems.
Matching journals
The top 2 journals account for 50% of the predicted probability mass.