Large-Scale Graph Analytics with Spark GraphFrames versus Single-Machine NetworkX

When does graph analytics have to leave the single machine? NetworkX 3.7 (pure Python), Apache Spark 4.3.0 with GraphFrames 0.12.3 (local mode, 8 cores) and - as an ablation - igraph 1.0.0 (C library) run the same three algorithms - PageRank (damping 0.85), connected components and label propagation communities - on 7 public SNAP graphs from 0.18 M to 117.2 M undirected edges (Enron, DBLP, YouTube, Google web, US patents, LiveJournal, Orkut). Every run is a fresh process with the same 15 GB memory cap and 300 s limit per algorithm; a step that fails is not run on larger graphs.

NOTE: Public SNAP graphs; every tool measured in a fresh process on the same prepared edge lists with the same memory cap, time limit and algorithm settings; Spark ran in local mode on a standard laptop, so this is a single-node comparison, not a multi-machine cluster.

Category: Big Data

Big Data Project BD12 from ProTechSC Academy, with graphical abstract, video demonstration and project guidance.