Bringing Computation to the data: Interoperable serverless function execution for astrophysical data analysis in the SRCNet
Manuel Parra-Royón, Julián Garrido-Sánchez, Susana Sánchez-Expósito, María Ángeles Mendoza, Rob Barnsley, Anthony Moraghan, Jesús Sánchez, Laura Darriba, Carlos Ruíz-Monje, Edgar Joao, Javier Moldón, Jesús Salgado, Lourdes Verdes-Montenegro
TL;DR
This work demonstrates the feasibility of integrating Function-as-a-Service into the federated SRCNet infrastructure to enable data-proximate computation for the SKA era. By decomposing radio-astronomy workflows into containerised functions and interconnecting them via global and local SRCNet services, GateKeeper, and IVOA DataLink, the study shows how to bring computation to distributed data while maintaining security and provenance. The gaussconv implementation serves as a concrete validation of deployment, registration, and end-user access within a Kubernetes-based, CI/CD-driven pipeline. The approach promises scalable, reproducible, and policy-compliant analyses across SKA-scale data, with broader applicability to other large-scale, data-intensive scientific domains. Future work aims to enable function chaining, improved scheduling across sites, and enhanced provenance to further generalise federated, function-oriented computation.
Abstract
Serverless computing is a paradigm in which the underlying infrastructure is fully managed by the provider, enabling applications and services to be executed with elastic resource provisioning and minimal operational overhead. A core model within this paradigm is Function-as-a-Service (FaaS), where lightweight functions are deployed and triggered on demand, scaling seamlessly with workload. FaaS offers flexibility, cost-effectiveness, and fine-grained scalability, qualities particularly relevant for large-scale scientific infrastructures where data volumes are too large to centralise and computation must increasingly occur close to the data. The Square Kilometre Array Observatory (SKAO) exemplifies this challenge. Once operational, it will generate about 700~PB of data products annually, distributed across the SKA Regional Centre Network (SRCNet), a federation of international centres providing storage, computing, and analysis services. In such a context, FaaS offers a mechanism to bring computation to the data. We studied the principles of serverless and FaaS computing and explored their application to radio astronomy workflows. Representative functions for astrophysical data analysis were developed and deployed, including micro-functions derived from existing libraries and wrappers around domain-specific applications. In particular, a Gaussian convolution function was implemented and integrated within the SRCNet ecosystem. The use case demonstrates that FaaS can be embedded into the existing SRCNet ecosystem of services, allowing functions to run directly at sites where data replicas are stored. This reduces latency, minimises transfers, and improves efficiency, aligning with federated, data-proximate computation. The results show that serverless models provide a scalable and efficient pathway to address the data volumes of the SKA era.
