[Paper Review] The Vera C. Rubin Observatory Prompt Processing System
The paper describes the design, implementation, and commissioning results of the Rubin Observatory's Prompt Processing System, which processes 10 TB of data nightly to generate up to 10 million transient alerts within 60–120 seconds of shutter close, using a scalable Kubernetes-based architecture.
Vera C. Rubin Observatory's Prompt Processing system will automatically process 10 TB of raw images to produce up to 10 million transient alerts per night. We summarize how Prompt Processing meets its throughput, latency, and reliability requirements and present results from Rubin Observatory Commissioning.
Motivation & Objective
- Motivate the need for real-time transient alert generation to support LSST science objectives.
- Describe the architecture and workflow that enable low-latency, high-throughput prompt processing.
- Explain commissioning results and reliability/throughput metrics from early deployments and scaling tests.
- Identify current bottlenecks and planned improvements for scaling to full survey cadence.
Proposed method
- Adopt a task-based architecture with one task per detector per visit (visit-detector).
- Use a Kubernetes-based worker pool to run independent tasks for scalability and parallelism.
- Minimize external I/O by preloading inputs and exporting products from local workspaces, with selective shared data stores for alerts and object catalogs.
- Abstract pipelines via the Rubin Observatory Middleware framework to allow configurable pipelines per nextVisit metadata.
- Implement a centralized data ecosystem including a central repository, the APDB, mpsky, and Sattle services for inputs and vetting.
Experimental results
Research questions
- RQ1How can Prompt Processing meet throughput (up to 10 million alerts/night) and latency (60–120 s after shutter close) requirements?
- RQ2What architectural choices (task-based, Kubernetes, caching) optimize parallelism and fault tolerance for large-scale prompt processing?
- RQ3What commissioning results demonstrate system reliability and where are bottlenecks or failure modes?
- RQ4What improvements are needed to scale to full survey cadence and how will they be validated?
Key findings
- Prompt Processing handled 4 million alerts in 1–2 hours on two nights during commissioning, demonstrating required throughput.
- The system achieved up to 73% of all science images processed during LSSTCam Commissioning, with some loss due to replicas and other failures.
- Central repository and APDB bottlenecks limited latency and reliability during initial scales, leading to introduced replicas and streamlined writes.
- The architecture scales to up to 1700 Kubernetes pods, constrained by cluster memory.
- Retrial and retry mechanisms for transient failures are planned within the KEDA-based workflow to improve resilience.
- Improvements such as a read-only database replica and serialized writer service were implemented to mitigate data-access bottlenecks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.