Skip to content
Open access

A Comparative Analysis of Spark GraphX and GraphFrames for Healthcare Data Analytics

Aug 2026 · UHD Journal of Science and Technology · 0 citations · 28 references

TL;DR

Results indicate that GraphX is more suitable for performance-oriented graph workloads, whereas GraphFrames is advantageous when development flexibility and DataFrame integration are primary considerations.

Abstract

Healthcare data analytics is essential for identifying disease patterns, understanding patient relationships, and supporting data-driven decision-making in modern healthcare systems. As healthcare datasets continue to grow in size and complexity, scalable graph-processing frameworks have become increasingly important for analyzing interconnected patient data. This paper compares two Apache Spark graph-processing frameworks, GraphX and GraphFrames, using the Centers for Disease Control and Prevention Diabetes Health Indicators dataset. A patient similarity graph was constructed by representing 70,692 patients as vertices and connecting highly similar patients through cosine–similarity relationships, resulting in 16,009,101 graph edges. The two frameworks were evaluated using the same graph structure and execution environment with respect to graph construction time, execution performance, memory consumption, application programming interface usability, and scalability. In addition to the framework comparison, graph-based features, including in-degree, out-degree, total degree, and PageRank, were extracted to examine the structure of the patient similarity network. The experimental results showed that GraphX completed graph construction, PageRank computation, and degree calculations considerably faster than GraphFrames. However, GraphFrames offered a higher-level programming interface, simpler integration with Spark SQL, and easier implementation of graph analytics workflows. The extracted graph measures also highlighted highly connected and structurally important patients within the network, demonstrating the usefulness of graph-based feature extraction for healthcare data analysis. GraphX completed graph construction approximately 33 times faster (92.5 s vs. 3037 s), PageRank computation approximately 780 times faster (9.1 s vs. 7132 s), and degree computation over 10,000 times faster (1.0 s vs. 10202 s) than GraphFrames, whereas GraphFrames used substantially less memory; these results indicate that GraphX is more suitable for performance-oriented graph workloads, whereas GraphFrames is advantageous when development flexibility and DataFrame integration are primary considerations.

Read PDF

Similar papers

#artificial intelligence Review Open access Sep 2026

A review of ontology-driven big data analytics in healthcare: challenges, tools, and applications

The findings demonstrate that ontology-driven approaches significantly improve semantic interoperability by aligning heterogeneous standards, enhance data integration and query efficiency across distributed datasets, and enable scalable real-time analytics for continuous patient monitoring.

Ritesh Chandra, Sonali Agarwal, Navjot Singh et al. · 0 citations
Aug 2026

CGX: OCR-enhanced knowledge graph retrieval for explainable heart failure analysis

Initial experiments on heart-failure-focused clinical question answering show that CGX improves evidence retrieval quality and perceived answer reliability over conventional retrieval methods, while reducing total graph construction time by 69.7% under the same input corpus and hardware setting.

Dat T. Nguyen, Ngoc-Anh Thi Le, Binh T. D. Trinh et al. · 0 citations
Open access Aug 2026

KRAKEN: A provenance-tracked knowledge graph for multiomic and wellness research

KRAKEN (Knowledge Research & Analysis Kit for Evidence Networks) addresses this gap by integrating existing graphs with specialized sources such as RefMet, LIPID MAPS, NIH Common Data Elements, Polygenic Score Catalog, and derived wellness measures including biological age and biological BMI.

Amy K. Glen, D. Witherington, Trent Leslie et al. · 0 citations
Open access Aug 2026

A Five-Layer Reference Architecture for First-Party Enterprise Knowledge Graphs with GraphRAG Integration and Governance Controls

The five-layer approach to using this information asset gives practitioners and researchers a reference architecture for designing, evaluating, and governing enterprise knowledge graph deployments built on proprietary organizational data.

Asheesh Pandey · 0 citations
Review Open access Aug 2026

Optimizing Healthcare through Big Data Analytics: A Review of Efficient Algorithm Designs

: This paper explores the role of efficient algorithm designs in optimizing healthcare through big data analytics. The paper begins with an introduction to the definition of big data analytics in healthcare and the importance of healthcare optimization through this approach. It then delves into the applications of big...

Sarika G. Shinde, K. Kharade · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.