Distributed data Analysis in High Energy Physics: integration of ROOT RDataFrame and Apache Spark

26 Jun 2026, 09:30
15m
Room 420 (MLIT)

Room 420

MLIT

Speaker

Татьяна Соловьева (Jinr)

Description

Modern experiments generate data streams with peak intensity up to 1 PB/s, which requires the creation of new efficient solutions for processing big data in high-energy physics (HEP). Recent papers [1-3] present the results of extending the functionality of the high-level RDataFrame ROOT interface, including improving user functions and reducing memory consumption. Unified methods have been developed for including C++ code both into the local RDataFrame application and the distributed one. Continuing this approach, the present paper describes the architecture of a hybrid data analysis solution in HEP, combining RDataFrame and the Apache Spark framework, a recognized standard for distributed big data processing (Big Data). RDataFrame provides a modern approach to scientific data analysis that describes the logic of computation without clearly specifying the sequence of instructions, optimization of the operation graph, and thread-level parallelism, automatically implemented by the compiler. Apache Spark [4] complements this ecosystem with large-scale distributed processing capabilities: high computing speed, automatic load distribution between cluster nodes, fault tolerance and scalability. Python serves as the connecting link between RDataFrame and Spark, allowing HEP researchers to retain the familiar syntax of data analysis in the ROOT environment, delegating the tasks of scaling, load balancing and resiliency to the Big Data ecosystem.
The possibility of joint operation of the ROOT RDataFrame and the HDFS distributed file system was investigated. Data integrity has been shown to be preserved during parallel processing. The calculations performed confirmed the linear scalability of the proposed architecture with an increase in the number of computing nodes.Bechmark results demonstrate a significant reduction in data processing and analysis time compared to traditional approaches. Thus, the Spark + RDataFrame combination can be considered as a promising tool for solving computational problems in modern and future experiments in high-energy physics.

Literature
1) Padulano V.E. and others. Analysis of distributed data using ROOT RDataFrame. Web Conference EPJ 245, 03009 (2020).
2) Tededchi T. et al. Prototyping a distributed ROOT-based analysis stream for HL-LHC: an example of using a CMS. Archive: 2307.12579v1. (cs.DC) July 24, 2023
3) Padulano V.E. and others. Distributed analysis in production using RDataFrame. EPJ 337 Web Conference, 01007 (2025)
4) Apache Spark Software Site: https://spark.apache.org

Authors

Presentation materials