Abstract
The Vera C. Rubin Observatory is poised to revolutionize astronomy with the Legacy Survey of Space and Time (LSST), generating approximately 20 terabytes of raw data every night for a decade. Managing this unprecedented computational load requires a robust workload management system capable of orchestrating complex science pipelines across distributed global data centers. This paper details the integration of the PanDA (Production and Distributed Analysis) system—originally developed for the Large Hadron Collider—into the Rubin Observatory’s infrastructure. We describe the architectural components, including the Batch Production Service and the intelligent Data Delivery Service, and present results from large-scale rehearsals. Since May 2021, the integrated system has successfully managed over 40 million jobs, demonstrating its capacity to handle the "data deluge" of next-generation astronomical surveys.
Introduction
The Rubin Observatory’s LSST represents a massive leap in astronomical data production. Over its ten-year mission, it is projected to produce 60 petabytes of raw data and hundreds of petabytes of science-ready images. Processing this volume necessitates more than just raw hardware; it requires a sophisticated system to manage complex task dependencies (modeled as Directed Acyclic Graphs or DAGs) and ensure data provenance across international facilities in the US, France, and the UK.
A critical requirement is "prompt processing"—the ability to analyze images and issue alerts within 60 seconds of capture. To meet these challenges, researchers sought a workload management system that could scale horizontally to hundreds of thousands of concurrent jobs while remaining flexible enough to integrate with Rubin-specific metadata and data management layers.
System Architecture and Methods
The integration leverages the PanDA system, a battle-tested tool from the ATLAS experiment at CERN. The architecture is designed to bridge Rubin’s internal pipeline tools with distributed computing resources.
Key technical components include:
- Batch Production Service (BPS): A middleware layer that acts as a generic bridge between Rubin’s science pipelines and various Workload Management Systems (WMS).
- Data Butler: A Rubin-specific abstraction layer that manages data ingestion and retrieval, shielding researchers from physical file path complexities.
- iDDS (intelligent Data Delivery Service): This service manages fine-grained, complex workflows and DAGs, allowing PanDA to handle the intricate dependencies inherent in astronomical image processing.
- Kubernetes (K8s) Deployment: The system is deployed using a modern cloud-native stack at SLAC, utilizing highly available PostgreSQL clusters via the CloudNativePG framework.
- Pilot-based Execution: "Pilots" are dispatched to worker nodes to prepare the environment before pulling science payloads, increasing reliability and reducing overhead.
Key Results
The system's performance was validated through several "rehearsals" using simulated and real astronomical data. These included Data Preview 0 (DP0.2) and large-scale reprocessing of Hyper Suprime-Cam (HSC) data from the Subaru Telescope.
The scale of operations has been significant:
- Job Volume: Since May 2021, PanDA has managed over 40 million jobs for the Rubin Observatory.
- Peak Throughput: During the DP0.2 phase on the Google Cloud-based Interim Data Facility, the system successfully executed 16 million jobs.
- Reprocessing Campaigns: A single campaign for the HSC Public Data Release 2 involved approximately 36 million jobs.
- Infrastructure Stability: The system demonstrated stable operations on clusters with approximately 4,000 cores, totaling 2.5 million core-hours for specific high-intensity runs.
Discussion and Future Work
The successful integration of PanDA represents a significant cross-discipline technology transfer. Software originally designed for High Energy Physics (HEP) has proven capable of managing the 800,000 concurrent cores required for the LHC, a scale that aligns well with the Rubin Observatory's needs.
However, challenges remain. While the architecture for "prompt processing" (the <60s alert window) is established using semi-persistent pilots and direct communication via ActiveMQ, it is still under active evaluation. Furthermore, coordinating metadata and "Butler" registries across geographically dispersed sites remains a complex task. Future work will focus on deeper integration with Rucio for data management and refining log routing across various facility-specific platforms. The improvements made to PanDA during this integration are experiment-agnostic, providing lasting benefits to the broader scientific community.
Summary updated